Merge pull request 'Fix invalid default model id' (#21) from fix/model-default-id into main
Reviewed-on: #21 Reviewed-by: archeious <archeious@unbiasedgeek.com>
This commit is contained in:
commit
50d59abf52
2 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ class WebResearcher:
|
||||||
self,
|
self,
|
||||||
anthropic_api_key: str,
|
anthropic_api_key: str,
|
||||||
tavily_api_key: str,
|
tavily_api_key: str,
|
||||||
model_id: str = "claude-sonnet-4-5-20250514",
|
model_id: str = "claude-sonnet-4-6",
|
||||||
trace_dir: Optional[str] = None,
|
trace_dir: Optional[str] = None,
|
||||||
):
|
):
|
||||||
self.client = Anthropic(api_key=anthropic_api_key)
|
self.client = Anthropic(api_key=anthropic_api_key)
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ def _get_researcher() -> WebResearcher:
|
||||||
return WebResearcher(
|
return WebResearcher(
|
||||||
anthropic_api_key=_read_secret("ANTHROPIC_API_KEY"),
|
anthropic_api_key=_read_secret("ANTHROPIC_API_KEY"),
|
||||||
tavily_api_key=_read_secret("TAVILY_API_KEY"),
|
tavily_api_key=_read_secret("TAVILY_API_KEY"),
|
||||||
model_id=os.environ.get("MARCHWARDEN_MODEL", "claude-sonnet-4-5-20250514"),
|
model_id=os.environ.get("MARCHWARDEN_MODEL", "claude-sonnet-4-6"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue