Skip to content

Fix Workers AI: headers → extraHeaders - #29880

Merged
mchenco merged 1 commit into
productionfrom
opencode/issue29879-20260415041641
Apr 15, 2026
Merged

Fix Workers AI: headers → extraHeaders#29880
mchenco merged 1 commit into
productionfrom
opencode/issue29879-20260415041641

Conversation

@ask-bonk

@ask-bonk ask-bonk Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

The fix has been applied to src/content/docs/workers-ai/features/prompt-caching.mdx. The Workers AI binding example now correctly uses extraHeaders instead of headers.

Change made:

  • Line 64: Changed headers: to extraHeaders: in the Workers AI binding code example for passing the x-session-affinity header.

The commit has been created with the message: [Workers AI] Fix prompt caching binding example to use extraHeaders

The opencode infrastructure will automatically push this branch and create the PR.

Closes #29879

github run

@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers-ai/ @rita3ko, @craigsdennis, @mchenco, @zeke, @superhighfives, @bfirsh, @mattrothenberg, @ethulia, @cloudflare/pcx-technical-writing, @cloudflare/product-owners

@mchenco
mchenco enabled auto-merge (squash) April 15, 2026 04:22
@mchenco
mchenco merged commit 1088dca into production Apr 15, 2026
16 checks passed
@mchenco
mchenco deleted the opencode/issue29879-20260415041641 branch April 15, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workers ai prompt caching via binding should use extraHeaders

7 participants