ai 3.2.25 → 3.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -723,7 +723,8 @@ async function generateObject({
|
|
723
723
|
...prepareCallSettings(settings),
|
724
724
|
inputFormat: validatedPrompt.type,
|
725
725
|
prompt: convertToLanguageModelPrompt(validatedPrompt),
|
726
|
-
abortSignal
|
726
|
+
abortSignal,
|
727
|
+
headers
|
727
728
|
})
|
728
729
|
);
|
729
730
|
if (generateResult.text === void 0) {
|
@@ -757,7 +758,8 @@ async function generateObject({
|
|
757
758
|
...prepareCallSettings(settings),
|
758
759
|
inputFormat: validatedPrompt.type,
|
759
760
|
prompt: convertToLanguageModelPrompt(validatedPrompt),
|
760
|
-
abortSignal
|
761
|
+
abortSignal,
|
762
|
+
headers
|
761
763
|
})
|
762
764
|
);
|
763
765
|
const functionArgs = (_b = (_a = generateResult.toolCalls) == null ? void 0 : _a[0]) == null ? void 0 : _b.args;
|