Skip to content

allow passing fetch to specific providers#558

Open
Olmo Maldonado (ibolmo) wants to merge 3 commits into
mainfrom
ip-heuristics
Open

allow passing fetch to specific providers#558
Olmo Maldonado (ibolmo) wants to merge 3 commits into
mainfrom
ip-heuristics

Conversation

@ibolmo
Copy link
Copy Markdown
Collaborator

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment May 15, 2026 7:03pm

Request Review

modelSpec,
body,
signal,
fetch: customFetch,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

makes sure if upstream we need to override the fetch that we're passing that custom fetch everywhere

Comment thread packages/proxy/src/proxy.ts
- Pass the configured fetch implementation into Databricks OAuth
  exchanges.
- Use injected fetch for Google service account token requests across
  OpenAI, Vertex, Anthropic, and Gemini paths.
- Add coverage to ensure Databricks OAuth avoids global fetch and
  applies the returned bearer token.
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