Skip to content

Update Claude model types and add GPT-6 Luna for HyperAgent - #148

Merged
NikhilShahi merged 3 commits into
mainfrom
fix/retired-claude-models
Oct 25, 2026
Merged

NikhilShahi merged 3 commits into
mainfrom
fix/retired-claude-models

Conversation

@shrisukhani

@shrisukhani shrisukhani commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

HyperAgent requests using gpt-6-luna failed SDK validation, and the Browser Use tool schema still recommended retired Claude models.

  • Add gpt-6-luna to HyperAgentLlm so dictionary and legacy Pydantic requests accept it.
  • Keep legacy Claude IDs available with deprecation guidance, and accept both retired Opus 4 aliases in ClaudeComputerUseLlm so the API can remap them.
  • Update the Browser Use tool's Claude choices to Sonnet 5, Sonnet 4.6, and Haiku 5.5.

Companion changes: API #1654, Node SDK #136, docs #109.

Validation

  • Python 3.12 isolated environment: ruff check . passed.
  • pytest tests --ignore=tests/sandbox/e2e -q: 1,000 passed, 4 skipped.
  • Mocked-transport SDK checks confirmed gpt-6-luna reaches request serialization through dictionary and legacy Pydantic inputs for HyperAgent 0.8.0 and 1.1.0.

Note

Low Risk
Changes are Literal types and tool schema enums only; retired IDs remain accepted for compatibility.

Overview
Bumps the SDK to 1.14.0 and aligns client-side model allowlists with the API: gpt-6-luna is added to HyperAgentLlm so HyperAgent requests no longer fail local validation.

Claude identifiers are reorganized with inline deprecation (e.g. claude-sonnet-4-5 → use Sonnet 5) and retired backward-compat notes; ClaudeComputerUseLlm also accepts the two Opus 4 May 2025 alias strings for API remapping.

The Browser Use tool JSON schema BROWSER_USE_LLM_SCHEMA drops legacy Claude 3.x enum values in favor of Sonnet 5, Sonnet 4.6, and Haiku 5.5.

Reviewed by Cursor Bugbot for commit 5e2d7f7. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6ab7e23. Configure here.

Comment thread hyperbrowser/control_auth.py Resolved
- Add current Claude models to the public type unions
- Mark retired/deprecated IDs in comments
- Refresh the browser-use tool schema
@shrisukhani

Copy link
Copy Markdown
Contributor Author

All checks are green and review threads are resolved. @NikhilShahi @Dingway98 could one of you take a look when you get a chance? Thanks!

@NikhilShahi NikhilShahi changed the title Update Claude model types for current models Update Claude model types and add GPT-6 Luna for HyperAgent Oct 25, 2026
@NikhilShahi
NikhilShahi added this pull request to the merge queue Oct 25, 2026
@NikhilShahi
NikhilShahi removed this pull request from the merge queue due to a manual request Oct 25, 2026
@NikhilShahi
NikhilShahi merged commit 6dde2e7 into main Oct 25, 2026
13 checks passed
@shrisukhani
shrisukhani deleted the fix/retired-claude-models branch October 25, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants