Skip to content

feat: add Browserbase fetch through AI Gateway - #4030

Closed
shrey150 wants to merge 1 commit into
vercel:mainfrom
shrey150:shrey/browserbase-gateway-fetch
Closed

shrey150 wants to merge 1 commit into
vercel:mainfrom
shrey150:shrey/browserbase-gateway-fetch

Conversation

@shrey150

@shrey150 shrey150 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Agents using AI Gateway can fetch public pages with their existing Gateway credentials. Adds webFetchProvider({ provider: "browserbase" }) with Markdown, raw responses, and schema-based JSON extraction. Existing webFetch exports keep their behavior, and direct-provider models omit the Gateway tool. Browserbase Search shipped separately in #4029.

Validation

  • 141 focused compiler, tool-definition, harness, and runtime tests passed.
  • Build, workspace typecheck, formatting, lint, dependency checks, docs checks, and invariant checks passed.
  • Real eve HTTP sessions fetched Markdown, raw HTML, and schema-based JSON through AI Gateway. All three returned HTTP 200 and answered using the tool results.

CI evals have credential failures: local Fetch reports an unavailable Gateway model connection, and Vercel Fetch lacks deployment credentials. Existing fixtures show the same errors. Vercel previews require maintainer authorization.

Checklist

  • This change was requested or approved by a maintainer
  • I ran the relevant checks from CONTRIBUTING.md
  • I added tests and documentation where relevant
  • I added a changeset if this touches the published eve package
  • DCO sign-off passes for every commit (git commit --signoff)

@vercel

vercel Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@shrey150 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread .changeset/browserbase-gateway-fetch.md Resolved
Comment thread docs/concepts/built-in-tools.md Resolved
Comment thread docs/concepts/built-in-tools.md Resolved
@shrey150
shrey150 force-pushed the shrey/browserbase-gateway-fetch branch from 395cb77 to 6456683 Compare October 7, 2026 00:42
@AndrewBarba

Copy link
Copy Markdown
Collaborator

Thanks for taking the time to put this together.

We've changed how eve accepts contributions. Pull requests are now limited to Vercel team members, and we're closing open pull requests from external contributors, including this one. With today's coding agents, generating a pull request takes very little effort, and reviewing unsolicited changes was taking more maintainer time than we can give.

We still want your input, but it should come through issues. If this change addresses a real bug or use case, please open an issue that describes the problem, a reproduction or user story, and, if you like, a prompt or short implementation plan. We implement accepted proposals with our own coding agents so we control the models, skills, and validation. Feel free to link this pull request from the issue for context.

See Proposing a change in CONTRIBUTING.md for details. Thanks for understanding.

@AndrewBarba AndrewBarba closed this Oct 8, 2026
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.

2 participants