@mastra/ai-sdk 1.4.5-alpha.0 → 1.4.5
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/index.cjs +1 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/workflow-route.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { TripWire, MessageList, aiV5ModelMessageToV2PromptMessage } from '@mastr
|
|
|
9
9
|
import { RequestContext } from '@mastra/core/di';
|
|
10
10
|
import { WorkingMemory, MessageHistory, SemanticRecall } from '@mastra/core/processors';
|
|
11
11
|
|
|
12
|
-
// ../../packages/_vendored/ai_v5/dist/chunk-
|
|
12
|
+
// ../../packages/_vendored/ai_v5/dist/chunk-LPCSE373.js
|
|
13
13
|
var marker = "vercel.ai.error";
|
|
14
14
|
var symbol = Symbol.for(marker);
|
|
15
15
|
var _a;
|
|
@@ -14279,11 +14279,6 @@ function workflowRoute({
|
|
|
14279
14279
|
if (!workflowToUse) {
|
|
14280
14280
|
throw new Error("Workflow ID is required");
|
|
14281
14281
|
}
|
|
14282
|
-
if (contextRequestContext && params.requestContext) {
|
|
14283
|
-
mastra.getLogger()?.warn(
|
|
14284
|
-
`"requestContext" from the request body will be ignored because "requestContext" is already set in the route options.`
|
|
14285
|
-
);
|
|
14286
|
-
}
|
|
14287
14282
|
const handlerOptions = {
|
|
14288
14283
|
mastra,
|
|
14289
14284
|
workflowId: workflowToUse,
|