Skip to content

Commit 1088dca

Browse files
[Workers AI] Fix prompt caching binding example to use extraHeaders (#29880)
Co-authored-by: ask-bonk[bot] <ask-bonk[bot]@users.noreply.github.com>
1 parent e48b25e commit 1088dca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/docs/workers-ai/features/prompt-caching.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const response = await env.AI.run(
6161
],
6262
},
6363
{
64-
headers: {
64+
extraHeaders: {
6565
"x-session-affinity": "ses_12345678",
6666
},
6767
},

0 commit comments

Comments
 (0)