Skip to content

Update default model versions for Claude, Groq, and GPT-4 profiles#1749

Open
endolith wants to merge 1 commit intoopeninterpreter:mainfrom
endolith:update_model_names
Open

Update default model versions for Claude, Groq, and GPT-4 profiles#1749
endolith wants to merge 1 commit intoopeninterpreter:mainfrom
endolith:update_model_names

Conversation

@endolith
Copy link
Copy Markdown
Contributor

@endolith endolith commented May 3, 2026

Fix deprecated model IDs causing 404 errors

Problem

OS mode is broken out of the box. claude-3-5-sonnet-20241022 has been removed from the Anthropic API:

Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'model: claude-3-5-sonnet-20241022'}}

Multiple users have reported this in the community Discord. The model ID is hardcoded in computer_use/loop.py and cannot be overridden with --model.

Changes

File Provider Old New Source
computer_use/loop.py Anthropic API claude-3-5-sonnet-20241022 claude-sonnet-4-6 Anthropic models docs
computer_use/loop.py AWS Bedrock anthropic.claude-3-5-sonnet-20241022-v2:0 anthropic.claude-sonnet-4-6 AWS Bedrock model card
computer_use/loop.py Google Vertex AI claude-3-5-sonnet-v2@20241022 claude-sonnet-4-6 Same Anthropic model family; Vertex ID matches Anthropic’s cross-platform table
llm.py + start_terminal_interface.py (alias expansion) claude-3-5-sonnet-20240620 claude-sonnet-4-6 Same model family; old snapshot is no longer the right default
profiles/defaults/aws-docs.py claude-3-5-sonnet-20240620 claude-sonnet-4-6 Same
profiles/defaults/bedrock-anthropic.py Bedrock (LiteLLM) bedrock/anthropic.claude-3-sonnet-20240229-v1:0 bedrock/anthropic.claude-sonnet-4-6 Claude 3 Sonnet (Feb 2024) is outdated vs current Bedrock offering
profiles/defaults/the01.py claude-3.5 claude-sonnet-4-6 Avoids relying on shorthand that previously resolved to an old snapshot
groq.py, obsidian.py, screenpipe.py, template_profile.py Groq groq/llama-3.1-70b-versatile groq/llama-3.3-70b-versatile Groq: Llama 3.3 70B
profiles/profiles.py (saved profile migration) gpt-4 / gpt-4-turbo-previewgpt-4o gpt-4.1 OpenAI deprecations lists gpt-4.1 as substitute for gpt-4-turbo / legacy gpt-4 snapshots

Not changed

  • self.model = "gpt-4o" (default in llm.py) — still callable on the API today; changing the global default is a separate change.
  • fast.yaml: gpt-4o-mini — still current for that profile.

Co-authored-by: Cursor cursoragent@cursor.com

Reference any relevant issues (e.g. "Fixes #000"):

No linked GitHub issue — reproduction is the Discord-reported 404 on claude-3-5-sonnet-20241022 in OS mode. If you open an issue with that stack trace, you can add Fixes #NNN in a follow-up commit.

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

claude-3-5-sonnet-20241022 was removed from the Anthropic API, breaking
OS mode for all users with "not_found_error: model: claude-3-5-sonnet-20241022".
claude-3-5-sonnet-20240620 (used by the claude-3.5/claude-3-5 shorthands)
is similarly outdated. gpt-4-turbo-preview and gpt-4 are deprecated per
OpenAI's deprecation schedule.

Changes:
- computer_use/loop.py: {20241022 variants} → claude-sonnet-4-6 (all providers)
- llm.py + start_terminal_interface.py: claude-3.5/claude-3-5 aliases → claude-sonnet-4-6
- profiles/defaults/aws-docs.py: claude-3-5-sonnet-20240620 → claude-sonnet-4-6
- profiles/defaults/bedrock-anthropic.py: claude-3-sonnet-20240229-v1:0 → anthropic.claude-sonnet-4-6
- profiles/defaults/the01.py: claude-3.5 → claude-sonnet-4-6
- groq.py, obsidian.py, screenpipe.py, template_profile.py: llama-3.1-70b-versatile → llama-3.3-70b-versatile
- profiles/profiles.py: migrate old gpt-4/gpt-4-turbo-preview profiles to gpt-4.1
  (previously migrated to gpt-4o which is itself now deprecated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant