René's URL Explorer Experiment


Title: `ai.provider().fetch()` requires the provider key as a Worker secret, so it can't use AI Gateway stored keys or Unified Billing · Issue #845 · voidzero-dev/void · GitHub

Open Graph Title: `ai.provider().fetch()` requires the provider key as a Worker secret, so it can't use AI Gateway stored keys or Unified Billing · Issue #845 · voidzero-dev/void

X Title: `ai.provider().fetch()` requires the provider key as a Worker secret, so it can't use AI Gateway stored keys or Unified Billing · Issue #845 · voidzero-dev/void

Description: providerFetch always calls resolveProviderKey() and sends the key itself. If the secret is missing, for example GOOGLE_API_KEY for google-ai-studio, it answers 400 with ai: Missing GOOGLE_API_KEY secret. apiKeyEnv only changes which secr...

Open Graph Description: providerFetch always calls resolveProviderKey() and sends the key itself. If the secret is missing, for example GOOGLE_API_KEY for google-ai-studio, it answers 400 with ai: Missing GOOGLE_API_KEY s...

X Description: providerFetch always calls resolveProviderKey() and sends the key itself. If the secret is missing, for example GOOGLE_API_KEY for google-ai-studio, it answers 400 with ai: Missing GOOGLE_API_KEY s...

Opengraph URL: https://github.com/voidzero-dev/void/issues/845

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ai.provider().fetch()` requires the provider key as a Worker secret, so it can't use AI Gateway stored keys or Unified Billing","articleBody":"`providerFetch` always calls `resolveProviderKey()` and sends the key itself. If the secret is missing, for example `GOOGLE_API_KEY` for `google-ai-studio`, it answers 400 with `ai: Missing GOOGLE_API_KEY secret`. `apiKeyEnv` only changes which secret it reads. So an app can't let AI Gateway authenticate with a key stored in the gateway, or pay through Unified Billing.\n\nThe same path also drops `init.signal`: it passes only method, headers and body to `fetch()`, so a request can't be timed out. A Gemini call on Google's Flex tier can take up to 15 minutes, which is a queue consumer's whole time limit.\n\n**Ask:**\n\n- An option for `ai.provider().fetch()` to send no provider key and let AI Gateway authenticate, as the Workers AI binding's `gateway(id).run()` does.\n- Pass `init.signal` through to `fetch()`.\n\n**Workaround today:** the app calls the binding's `env.AI.gateway(id).run()` directly, with `inference.bindings.ai` set in `void.config.ts`, and adds its own `AbortSignal`. That skips `void/ai` entirely.\n\n**Environment:** Void 1.9.1.\n","author":{"url":"https://github.com/karthickeyan-dev","@type":"Person","name":"karthickeyan-dev"},"datePublished":"2026-11-16T04:05:21Z","url":"https://github.com/voidzero-dev/void/issues/845"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fd121909-3ebc-e780-77c1-07881c9e8412
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id868C:3886C4:144641:1BC4A2:6AFBAAEA
html-safe-nonce29079f211c3d3767a6b5a48fd807ec56defe73d7c8c0aa1b2cb61cde198560dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjhDOjM4ODZDNDoxNDQ2NDE6MUJDNEEyOjZBRkJBQUVBIiwidmlzaXRvcl9pZCI6IjgwMzEyMzIzODg3OTkxMTM5NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac20e8615e3ab8736858b2437354c08529e6c3bb551d0a70e852d641ea8373b29f
hovercard-subject-tagissue:6413921075
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/845/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e35209903d8d0b9564acc3844550c78551393bfcd8a646087216b89979b50769/voidzero-dev/void/issues/845
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e35209903d8d0b9564acc3844550c78551393bfcd8a646087216b89979b50769/voidzero-dev/void/issues/845
og:image:altproviderFetch always calls resolveProviderKey() and sends the key itself. If the secret is missing, for example GOOGLE_API_KEY for google-ai-studio, it answers 400 with ai: Missing GOOGLE_API_KEY s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekarthickeyan-dev
hostnamegithub.com
expected-hostnamegithub.com
Nonee25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55
turbo-cache-controlno-preview
go-importgithub.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git
octolytics-dimension-user_id149750581
octolytics-dimension-user_loginvoidzero-dev
octolytics-dimension-repository_id1164437080
octolytics-dimension-repository_nwovoidzero-dev/void
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1164437080
octolytics-dimension-repository_network_root_nwovoidzero-dev/void
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release08c8f17f9d27054a108b8b6254e405de0151f660
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/845#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F845
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F845
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=voidzero-dev%2Fvoid
Reloadhttps://github.com/voidzero-dev/void/issues/845
Reloadhttps://github.com/voidzero-dev/void/issues/845
Reloadhttps://github.com/voidzero-dev/void/issues/845
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues31 (31)https://github.com/voidzero-dev/void/issues
Pull requests9 (9)https://github.com/voidzero-dev/void/pulls
Discussionshttps://github.com/voidzero-dev/void/discussions
Actionshttps://github.com/voidzero-dev/void/actions
Security and qualityhttps://github.com/voidzero-dev/void/security
Insightshttps://github.com/voidzero-dev/void/pulse
https://github.com/voidzero-dev/void
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/845
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/845
ai.provider().fetch() requires the provider key as a Worker secret, so it can't use AI Gateway stored keys or Unified Billinghttps://github.com/voidzero-dev/void/issues/845#top
https://github.com/karthickeyan-dev
karthickeyan-devhttps://github.com/karthickeyan-dev
on Nov 16, 2026https://github.com/voidzero-dev/void/issues/845#issue-6413921075
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/845
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/845
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.