Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonOstrez committed Jul 31, 2024
1 parent c30d995 commit 1b069ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/agents/spec_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ async def initialize_spec(self) -> AgentResponse:
},
)

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)
Expand Down

0 comments on commit 1b069ee

Please sign in to comment.