I'm getting the error below while deploying the repo from the template. Did not change anything on the source code.
./app/ai_sdk/agent/action.ts:18:31
Type error: Type 'ChatPromptTemplate<any, any>' does not satisfy the constraint 'Runnable<any, any, RunnableConfig>'.
Property 'lc_runnable' is protected but type 'Runnable<RunInput, RunOutput, CallOptions>' is not a class derived from 'Runnable<RunInput, RunOutput, CallOptions>'.
16 | const tools = [new TavilySearchResults({ maxResults: 1 })];
17 |
> 18 | const prompt = await pull<ChatPromptTemplate>(
| ^
19 | "hwchase17/openai-tools-agent",
20 | );
21 |
Hello everyone,
I'm getting the error below while deploying the repo from the template. Did not change anything on the source code.