mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 21:27:53 -05:00
fix crash
This commit is contained in:
@@ -73,6 +73,7 @@ class SpecWriter(BaseAgent):
|
||||
},
|
||||
)
|
||||
|
||||
reviewed_spec = user_description
|
||||
if len(user_description) < ANALYZE_THRESHOLD and complexity != Complexity.SIMPLE:
|
||||
initial_spec = await self.analyze_spec(user_description)
|
||||
reviewed_spec = await self.review_spec(desc=user_description, spec=initial_spec)
|
||||
|
||||
Reference in New Issue
Block a user