ai 4.1.53 → 4.1.54
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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -6061,7 +6061,7 @@ function extractReasoningMiddleware({
|
|
6061
6061
|
);
|
6062
6062
|
textWithoutReasoning = beforeMatch + (beforeMatch.length > 0 && afterMatch.length > 0 ? separator : "") + afterMatch;
|
6063
6063
|
}
|
6064
|
-
return { text: textWithoutReasoning, reasoning
|
6064
|
+
return { ...rest, text: textWithoutReasoning, reasoning };
|
6065
6065
|
},
|
6066
6066
|
wrapStream: async ({ doStream }) => {
|
6067
6067
|
const { stream, ...rest } = await doStream();
|