We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d97d1 commit 8f545ceCopy full SHA for 8f545ce
.changeset/quiet-socks-eat.md
@@ -0,0 +1,5 @@
1
+---
2
+'ai': patch
3
4
+
5
+fix (ai/core): forward request headers in generateObject and streamObject
packages/core/core/generate-object/generate-object.ts
@@ -154,6 +154,7 @@ Default and recommended: 'auto' (best mode for the model).
154
inputFormat: validatedPrompt.type,
155
prompt: convertToLanguageModelPrompt(validatedPrompt),
156
abortSignal,
157
+ headers,
158
}),
159
);
160
@@ -193,6 +194,7 @@ Default and recommended: 'auto' (best mode for the model).
193
194
195
196
197
198
199
200
0 commit comments