From dffab2f6e14684300dc514711a7916fac0656c66 Mon Sep 17 00:00:00 2001 From: Aleksander Sekowski Date: Sat, 25 Jul 2026 22:00:33 -0700 Subject: [PATCH] Replace retired manager LLM default with claude-opus-4-8 Anthropic retired claude-opus-4-20250514 on June 15, 2026, so the shipped MANAGER_LLM_MODEL default now fails with model_not_found on any fresh install that uses an Anthropic key. Swap in claude-opus-4-8, the designated replacement, across settings.py, .env.example, and the configuration guide. The commented Bedrock example moves to us.anthropic.claude-opus-4-8, the current inference profile id (the -v1:0 suffix was dropped for undated model ids). --- .env.example | 4 ++-- docs/guides/configuration.md | 4 ++-- src/ad_seller/config/settings.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 8bcb243..cfd1afe 100644 --- a/.env.example +++ b/.env.example @@ -153,7 +153,7 @@ PREFERRED_DEAL_DISCOUNT_MAX=0.15 # Provider: Anthropic (default) ANTHROPIC_API_KEY=your-anthropic-api-key-here DEFAULT_LLM_MODEL=anthropic/claude-sonnet-4-5-20250929 -MANAGER_LLM_MODEL=anthropic/claude-opus-4-20250514 +MANAGER_LLM_MODEL=anthropic/claude-opus-4-8 LLM_TEMPERATURE=0.3 LLM_MAX_TOKENS=4096 @@ -175,7 +175,7 @@ LLM_MAX_TOKENS=4096 # AWS_SECRET_ACCESS_KEY=your-aws-secret-key # AWS_REGION=us-west-2 # DEFAULT_LLM_MODEL=bedrock/us.anthropic.claude-sonnet-4-5-20250929-v1:0 -# MANAGER_LLM_MODEL=bedrock/us.anthropic.claude-opus-4-20250514-v1:0 +# MANAGER_LLM_MODEL=bedrock/us.anthropic.claude-opus-4-8 # Provider: Custom OpenAI-compatible endpoint (alternative) # For endpoints with no CrewAI native provider prefix of their own — NVIDIA diff --git a/docs/guides/configuration.md b/docs/guides/configuration.md index 02de476..e1cb813 100644 --- a/docs/guides/configuration.md +++ b/docs/guides/configuration.md @@ -86,7 +86,7 @@ ad-seller freewheel-login --provider bc | Variable | Type | Default | Description | |----------|------|---------|-------------| | `DEFAULT_LLM_MODEL` | `str` | `"anthropic/claude-sonnet-4-5-20250929"` | Model for specialist agents (pricing, negotiation, etc.) | -| `MANAGER_LLM_MODEL` | `str` | `"anthropic/claude-opus-4-20250514"` | Model for manager/orchestrator agents | +| `MANAGER_LLM_MODEL` | `str` | `"anthropic/claude-opus-4-8"` | Model for manager/orchestrator agents | | `LLM_TEMPERATURE` | `float` | `0.3` | LLM temperature (lower = more deterministic) | | `LLM_MAX_TOKENS` | `int` | `4096` | Maximum tokens per LLM response | | `OPENAI_COMPATIBLE_LLM_API_KEY` | `str` | `None` | API key for a [custom OpenAI-compatible endpoint](#custom-openai-compatible-endpoints) (optional — some endpoints don't require one) | @@ -263,7 +263,7 @@ GAM_API_VERSION=v202505 # LLM # ============================================================================= DEFAULT_LLM_MODEL=anthropic/claude-sonnet-4-5-20250929 -MANAGER_LLM_MODEL=anthropic/claude-opus-4-20250514 +MANAGER_LLM_MODEL=anthropic/claude-opus-4-8 LLM_TEMPERATURE=0.3 LLM_MAX_TOKENS=4096 diff --git a/src/ad_seller/config/settings.py b/src/ad_seller/config/settings.py index d481bb8..a7e85da 100644 --- a/src/ad_seller/config/settings.py +++ b/src/ad_seller/config/settings.py @@ -45,7 +45,7 @@ class Settings(BaseSettings): # gemini/gemini-2.5-flash (requires GOOGLE_API_KEY) # bedrock/us.anthropic.claude-sonnet-4-5-20250929-v1:0 (requires AWS creds) default_llm_model: str = "anthropic/claude-sonnet-4-5-20250929" - manager_llm_model: str = "anthropic/claude-opus-4-20250514" + manager_llm_model: str = "anthropic/claude-opus-4-8" llm_temperature: float = 0.3 llm_max_tokens: int = 4096