fix: vercel 504
This commit is contained in:
parent
11073862e3
commit
a2a398302b
|
@ -481,7 +481,7 @@ export class AgentApi {
|
||||||
tools,
|
tools,
|
||||||
maxIterations: reqBody.maxIterations,
|
maxIterations: reqBody.maxIterations,
|
||||||
});
|
});
|
||||||
process.env.LANGCHAIN_CALLBACKS_BACKGROUND = true;
|
process.env.LANGCHAIN_CALLBACKS_BACKGROUND = 'true';
|
||||||
await agentExecutor
|
await agentExecutor
|
||||||
.invoke(
|
.invoke(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue