You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 |
The text was updated successfully, but these errors were encountered:
bsonmez
changed the title
Cannot find module '@langchain/core' or its corresponding type declarations.
Property 'lc_runnable' is protected but type 'Runnable<RunInput, RunOutput, CallOptions>' is not a class derived
Jul 5, 2024
Hello everyone,
I'm getting the error below while deploying the repo from the template. Did not change anything on the source code.
The text was updated successfully, but these errors were encountered: