Merge pull request #130 from Pythagora-io/feature/swagger

Fix streaming in iterate frontend
This commit is contained in:
LeonOstrez
2025-04-14 12:58:11 +01:00
committed by GitHub

View File

@@ -154,7 +154,7 @@ class Frontend(FileDiffMixin, GitMixin, BaseAgent):
await self.send_message("Implementing the changes you suggested...")
llm = self.get_llm(FRONTEND_AGENT_NAME, stream_output=True)
llm = self.get_llm(FRONTEND_AGENT_NAME)
relevant_api_documentation = None
@@ -201,6 +201,8 @@ class Frontend(FileDiffMixin, GitMixin, BaseAgent):
await self.send_message(f"Please try reloading the project. \nError: {error}")
return None
llm = self.get_llm(FRONTEND_AGENT_NAME, stream_output=True)
convo = AgentConvo(self).template(
"build_frontend",
description=self.current_state.epics[0]["description"],