diff --git a/js/ai/src/generateAction.ts b/js/ai/src/generateAction.ts index e58bee210..2938d1ab2 100644 --- a/js/ai/src/generateAction.ts +++ b/js/ai/src/generateAction.ts @@ -216,7 +216,7 @@ export const generateAction = defineAction( ...input, history: [...request.messages, selected.message], prompt: toolResponses, - } + }; return await generateAction(nextRequest); } );