Repository navigation
Add gpt-6.1-terra to HyperAgent models - #154
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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.
Reviewed by Cursor Bugbot for commit bfef89b. Configure here.
| ) | ||
| assert dumped["llm"] == llm | ||
| assert StartHyperAgentTaskParams(task="Inspect the page", llm=llm).llm == llm | ||
|
|
There was a problem hiding this comment.
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.
Triggered by learned rule: HyperAgent/Claude LLMs: dual Literals, keep retired IDs, tool schema separate
Reviewed by Cursor Bugbot for commit bfef89b. Configure here.


Summary
HyperAgent now accepts
gpt-6.1-terra(browserctrl companion PR). This adds it to the SDK'sHyperAgentLlmliteral. It was previously listed only under CUA.Changes
"gpt-6.1-terra"toHyperAgentLlminhyperbrowser/models/consts.py.tests/test_hyper_agent_models.py. It covers the dict and legacy Pydantic request paths, and checks that an unknown model is rejected.Validation
ruff checkpytest tests/test_hyper_agent_models.pygives 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-terrato theHyperAgentLlmliteral 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 assertsgpt-6.1-terraandgpt-6-lunapass validation on both the dumped-request and Pydantic paths, and that unknown models likegpt-6-orbitare rejected.Reviewed by Cursor Bugbot for commit 2dceacf. Bugbot is set up for automated code reviews on this repo. Configure here.