This commit is contained in:
LeonOstrez
2024-08-14 11:51:35 +02:00
parent ced02ca30e
commit 5d74a7d3c8
2 changed files with 6 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ async def llm_api_check(ui: UIBase) -> bool:
log.warning(f"API check for {llm_config.provider.value} failed.")
else:
log.info(f"API check for {llm_config.provider.value} succeeded.")
checked_llms.add(llm_config.provider)
except APIError as err:
await ui.send_message(
f"API check for {llm_config.provider.value} failed with: {err}",

View File

@@ -337,7 +337,11 @@ class Config(_StrictModel):
temperature=0.5,
),
SPEC_WRITER_AGENT_NAME: AgentLLMConfig(model="gpt-4-0125-preview", temperature=0.0),
GET_RELEVANT_FILES_AGENT_NAME: AgentLLMConfig(model="claude-3-5-sonnet-20240620", temperature=0.0),
GET_RELEVANT_FILES_AGENT_NAME: AgentLLMConfig(
provider=LLMProvider.ANTHROPIC,
model="claude-3-5-sonnet-20240620",
temperature=0.0,
),
}
)
prompt: PromptConfig = PromptConfig()