mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 21:27:53 -05:00
fixes
This commit is contained in:
@@ -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}",
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user