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/dist/index.mjs
CHANGED
@@ -6014,7 +6014,7 @@ function extractReasoningMiddleware({
|
|
6014
6014
|
);
|
6015
6015
|
textWithoutReasoning = beforeMatch + (beforeMatch.length > 0 && afterMatch.length > 0 ? separator : "") + afterMatch;
|
6016
6016
|
}
|
6017
|
-
return { text: textWithoutReasoning, reasoning
|
6017
|
+
return { ...rest, text: textWithoutReasoning, reasoning };
|
6018
6018
|
},
|
6019
6019
|
wrapStream: async ({ doStream }) => {
|
6020
6020
|
const { stream, ...rest } = await doStream();
|