@mastra/ai-sdk 1.3.3 → 1.3.4-alpha.0
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 +9 -0
- package/dist/helpers.d.ts.map +1 -1
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -11975,6 +11975,9 @@ function convertFullStreamChunkToUIMessageStream({
|
|
|
11975
11975
|
};
|
|
11976
11976
|
}
|
|
11977
11977
|
case "reasoning-start": {
|
|
11978
|
+
if (!sendReasoning) {
|
|
11979
|
+
return;
|
|
11980
|
+
}
|
|
11978
11981
|
return {
|
|
11979
11982
|
type: "reasoning-start",
|
|
11980
11983
|
id: part.id,
|
|
@@ -11993,6 +11996,9 @@ function convertFullStreamChunkToUIMessageStream({
|
|
|
11993
11996
|
return;
|
|
11994
11997
|
}
|
|
11995
11998
|
case "reasoning-end": {
|
|
11999
|
+
if (!sendReasoning) {
|
|
12000
|
+
return;
|
|
12001
|
+
}
|
|
11996
12002
|
return {
|
|
11997
12003
|
type: "reasoning-end",
|
|
11998
12004
|
id: part.id,
|