fix prompts while working on features or old apps that dont have frontend

This commit is contained in:
LeonOstrez
2024-12-16 16:08:23 +01:00
parent af746f68f1
commit 2a2760adc6
8 changed files with 35 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ class SpecWriter(BaseAgent):
self.next_state.current_iteration["status"] = IterationStatus.FIND_SOLUTION
self.next_state.flag_iterations_as_modified()
else:
complexity = await self.check_prompt_complexity(user_response.text)
complexity = await self.check_prompt_complexity(feature_description)
self.next_state.current_epic["complexity"] = complexity
return AgentResponse.done(self)