We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092c2ba commit 7c0476cCopy full SHA for 7c0476c
packages/ai/src/ai.ts
@@ -69,7 +69,7 @@ function toolFromTask<
69
const toolDefinition = dynamicTool({
70
description: task.description,
71
inputSchema: convertTaskSchemaToToolParameters(task),
72
- execute: async (input, options) => {
+ execute: async function execute(input, options) {
73
const serializedOptions = options ? JSON.parse(JSON.stringify(options)) : undefined;
74
75
return await task
0 commit comments