Skip to content

Add gpt-6.1-terra to HyperAgent models - #154

Merged
NikhilShahi merged 2 commits into
mainfrom
devin/1794393943-hyperagent-gpt-6-1-terra
Nov 13, 2026
Merged

NikhilShahi merged 2 commits into
mainfrom
devin/1794393943-hyperagent-gpt-6-1-terra

Conversation

@shrisukhani

@shrisukhani shrisukhani commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

HyperAgent now accepts gpt-6.1-terra (browserctrl companion PR). This adds it to the SDK's HyperAgentLlm literal. It was previously listed only under CUA.

Changes

  • Add "gpt-6.1-terra" to HyperAgentLlm in hyperbrowser/models/consts.py.
  • Add tests/test_hyper_agent_models.py. It covers the dict and legacy Pydantic request paths, and checks that an unknown model is rejected.
  • Patch version bump to 1.15.2.

Validation

  • ruff check
  • pytest tests/test_hyper_agent_models.py gives 3/3.

Link to Devin session: https://app.devin.ai/sessions/2141e5dca2ac4fc0a83282f1451ae07e
Open in Devin Desktop: https://app.devin.ai/desktop/session/2141e5dca2ac4fc0a83282f1451ae07e?variant=devin
Requested by: @shrisukhani


Note

Low Risk
Literal-type and version bump plus validation tests only; no runtime or security-sensitive logic changes.

Overview
Adds gpt-6.1-terra to the HyperAgentLlm literal so HyperAgent start requests can select that model through the SDK (aligned with browserctrl).

Bumps the package version to 1.15.2 and adds tests/test_hyper_agent_models.py, which asserts gpt-6.1-terra and gpt-6-luna pass validation on both the dumped-request and Pydantic paths, and that unknown models like gpt-6-orbit are rejected.

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

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@AHarmlessPyro

AHarmlessPyro commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@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.

Reviewed by Cursor Bugbot for commit bfef89b. Configure here.

)
assert dumped["llm"] == llm
assert StartHyperAgentTaskParams(task="Inspect the page", llm=llm).llm == llm

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing HyperAgent typecheck coverage

Low Severity

Runtime tests accept gpt-6.1-terra on HyperAgent start params, but tests/typecheck/valid_requests.py never calls hyper_agent.start with that model. mypy and Pyright therefore do not check that the TypedDict request path allows the new ID.

Fix in Cursor Fix in Web

Triggered by learned rule: HyperAgent/Claude LLMs: dual Literals, keep retired IDs, tool schema separate

Reviewed by Cursor Bugbot for commit bfef89b. Configure here.

@NikhilShahi
NikhilShahi added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 5f6af41 Nov 13, 2026
13 checks passed
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.

3 participants