This commit is contained in:
LeonOstrez
2025-05-19 17:30:33 +02:00
parent 8e2e40e1e4
commit f8c3a59c2c
2 changed files with 5 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class SpecWriter(BaseAgent):
convo = AgentConvo(self).template(
"build_full_specification",
initial_prompt=description,
auth=(self.current_state.knowledge_base or {}).get("auth", False),
auth=self.current_state.knowledge_base.user_options.get("auth", False),
)
await self.ui.start_important_stream()
@@ -81,7 +81,7 @@ class SpecWriter(BaseAgent):
llm_assisted_description = await llm(convo)
convo = convo.template(
"build_full_specification",
auth=(self.current_state.knowledge_base or {}).get("auth", False),
auth=self.current_state.knowledge_base.user_options.get("auth", False),
initial_prompt=llm_assisted_description.strip(),
)