Update default model versions for Claude, Groq, and GPT-4 profiles#1749
Open
endolith wants to merge 1 commit intoopeninterpreter:mainfrom
Open
Update default model versions for Claude, Groq, and GPT-4 profiles#1749endolith wants to merge 1 commit intoopeninterpreter:mainfrom
endolith wants to merge 1 commit intoopeninterpreter:mainfrom
Conversation
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix deprecated model IDs causing 404 errors
Problem
OS mode is broken out of the box.
claude-3-5-sonnet-20241022has been removed from the Anthropic API:Multiple users have reported this in the community Discord. The model ID is hardcoded in
computer_use/loop.pyand cannot be overridden with--model.Changes
computer_use/loop.pyclaude-3-5-sonnet-20241022claude-sonnet-4-6computer_use/loop.pyanthropic.claude-3-5-sonnet-20241022-v2:0anthropic.claude-sonnet-4-6computer_use/loop.pyclaude-3-5-sonnet-v2@20241022claude-sonnet-4-6llm.py+start_terminal_interface.pyclaude-3-5-sonnet-20240620claude-sonnet-4-6profiles/defaults/aws-docs.pyclaude-3-5-sonnet-20240620claude-sonnet-4-6profiles/defaults/bedrock-anthropic.pybedrock/anthropic.claude-3-sonnet-20240229-v1:0bedrock/anthropic.claude-sonnet-4-6profiles/defaults/the01.pyclaude-3.5claude-sonnet-4-6groq.py,obsidian.py,screenpipe.py,template_profile.pygroq/llama-3.1-70b-versatilegroq/llama-3.3-70b-versatileprofiles/profiles.pygpt-4/gpt-4-turbo-preview→gpt-4ogpt-4.1gpt-4.1as substitute forgpt-4-turbo/ legacygpt-4snapshotsNot changed
self.model = "gpt-4o"(default inllm.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-20241022in OS mode. If you open an issue with that stack trace, you can addFixes #NNNin a follow-up commit.Pre-Submission Checklist (optional but appreciated):
docs/CONTRIBUTING.mddocs/ROADMAP.mdOS Tests (optional but appreciated):