mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 13:37:55 -05:00
Merge pull request #130 from Pythagora-io/feature/swagger
Fix streaming in iterate frontend
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user