mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-06-01 02:10:22 +09:00
fix: vercel 504
This commit is contained in:
parent
a2a72e48f6
commit
11073862e3
@ -481,6 +481,7 @@ export class AgentApi {
|
|||||||
tools,
|
tools,
|
||||||
maxIterations: reqBody.maxIterations,
|
maxIterations: reqBody.maxIterations,
|
||||||
});
|
});
|
||||||
|
process.env.LANGCHAIN_CALLBACKS_BACKGROUND = true;
|
||||||
await agentExecutor
|
await agentExecutor
|
||||||
.invoke(
|
.invoke(
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"mask:watch": "npx watch 'yarn mask' app/masks",
|
"mask:watch": "npx watch 'yarn mask' app/masks",
|
||||||
"dev": "yarn run mask:watch & next dev",
|
"dev": "yarn run mask:watch & next dev",
|
||||||
"dev:https": "yarn run mask:watch & next dev --experimental-https",
|
"dev:https": "yarn run mask:watch & next dev --experimental-https",
|
||||||
"build": "yarn mask && cross-env BUILD_MODE=standalone cross-env LANGCHAIN_CALLBACKS_BACKGROUND=true next build",
|
"build": "yarn mask && cross-env BUILD_MODE=standalone next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
|
"export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
|
||||||
|
Loading…
Reference in New Issue
Block a user