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.mjs
CHANGED
@@ -627,7 +627,8 @@ async function generateObject({
|
|
627
627
|
...prepareCallSettings(settings),
|
628
628
|
inputFormat: validatedPrompt.type,
|
629
629
|
prompt: convertToLanguageModelPrompt(validatedPrompt),
|
630
|
-
abortSignal
|
630
|
+
abortSignal,
|
631
|
+
headers
|
631
632
|
})
|
632
633
|
);
|
633
634
|
if (generateResult.text === void 0) {
|
@@ -661,7 +662,8 @@ async function generateObject({
|
|
661
662
|
...prepareCallSettings(settings),
|
662
663
|
inputFormat: validatedPrompt.type,
|
663
664
|
prompt: convertToLanguageModelPrompt(validatedPrompt),
|
664
|
-
abortSignal
|
665
|
+
abortSignal,
|
666
|
+
headers
|
665
667
|
})
|
666
668
|
);
|
667
669
|
const functionArgs = (_b = (_a = generateResult.toolCalls) == null ? void 0 : _a[0]) == null ? void 0 : _b.args;
|