Skip to content

Add provider base URLs for computer use agents#78

Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1777665706-cua-provider-base-urls
Open

Add provider base URLs for computer use agents#78
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1777665706-cua-provider-base-urls

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented May 1, 2026

Summary

  • Adds optional provider-scoped base URL fields for the three computer-use agent API key types: openaiBaseUrl, anthropicBaseUrl, and googleBaseUrl.
  • Validates custom API key mode has an apiKeys object and validates supplied base URLs are absolute http/https URLs before sending requests.
  • Adds contract tests covering JSON forwarding and local validation for CUA, Claude Computer Use, and Gemini Computer Use.

Review & Testing Checklist for Human

  • Confirm the client-side validation behavior is desirable for SDK users, especially requiring apiKeys when useCustomApiKeys is true.
  • Verify backend support accepts the new apiKeys.*BaseUrl payload keys for all three endpoints.
  • Try one real custom endpoint per provider once backend support is deployed.

Notes

Local checks:

  • yarn install
  • yarn build
  • yarn vitest run tests/sandbox/e2e/computer-use-contract.test.ts
  • yarn lint

yarn test was attempted, but the existing full suite requires HYPERBROWSER_API_KEY for sandbox e2e tests and fails before these targeted tests run.

Link to Devin session: https://app.devin.ai/sessions/1ed16d43e37049e8958d37729e8fd6d0
Requested by: @shrisukhani


Open in Devin Review

Co-Authored-By: Shri <shri@hyperbrowser.ai>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

1 participant