Repository navigation
Update Claude model types and add GPT-6 Luna for HyperAgent - #148
Merged
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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.
- Add current Claude models to the public type unions - Mark retired/deprecated IDs in comments - Refresh the browser-use tool schema
shrisukhani
force-pushed
the
fix/retired-claude-models
branch
from
October 24, 2026 04:36
9065977 to
38992aa
Compare
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
approved these changes
Oct 25, 2026
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.

Summary
HyperAgent requests using
gpt-6-lunafailed SDK validation, and the Browser Use tool schema still recommended retired Claude models.gpt-6-lunatoHyperAgentLlmso dictionary and legacy Pydantic requests accept it.ClaudeComputerUseLlmso the API can remap them.Companion changes: API #1654, Node SDK #136, docs #109.
Validation
ruff check .passed.pytest tests --ignore=tests/sandbox/e2e -q: 1,000 passed, 4 skipped.gpt-6-lunareaches request serialization through dictionary and legacy Pydantic inputs for HyperAgent0.8.0and1.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-lunais added toHyperAgentLlmso 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;ClaudeComputerUseLlmalso accepts the two Opus 4 May 2025 alias strings for API remapping.The Browser Use tool JSON schema
BROWSER_USE_LLM_SCHEMAdrops 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.