mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-27 01:02:22 +08:00
@@ -9,3 +9,14 @@ export const isProVersion = () => {
|
||||
|
||||
export const serviceRequestMaxContentLength =
|
||||
Number(process.env.SERVICE_REQUEST_MAX_CONTENT_LENGTH || 10) * 1024 * 1024; // 10MB
|
||||
|
||||
export const InitialErrorEnum = {
|
||||
S3_ERROR: 's3_error',
|
||||
MONGO_ERROR: 'mongo_error',
|
||||
REDIS_ERROR: 'redis_error',
|
||||
VECTORDB_ERROR: 'vectordb_error',
|
||||
PLUGIN_ERROR: 'plugin_error',
|
||||
PRO_ERROR: 'pro_error',
|
||||
SANDBOX_ERROR: 'code_sandbox_error',
|
||||
MCP_SERVER_ERROR: 'mcp_server_error'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user