Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ SIGNOZ_SERVICE_NAME=fastgpt-plugin
# MongoDB connection string
# Replace 'myusername' and 'mypassword' with your actual MongoDB credentials and ensure the database 'fastgpt' exists.
MONGODB_URI=mongodb://myusername:mypassword@localhost:27017/fastgpt?authSource=admin&directConnection=true

REDIS_URL=redis://default:[email protected]:6379

# 安全配置
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH=10
# 最大 API 请求体大小
MAX_API_SIZE=10
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pnpm-lock.yaml
.local
*.local
*.local.*
local/
2 changes: 1 addition & 1 deletion modules/tool/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export const builtinTools: ToolType[] = [];
export const UploadToolsS3Path = 'system/tools';

export const serviceRequestMaxContentLength =
Number(process.env.SERVICE_REQUEST_MAX_CONTENT_LENGTH || 5) * 1024 * 1024; // 5MB
Number(process.env.SERVICE_REQUEST_MAX_CONTENT_LENGTH || 10) * 1024 * 1024; // 10MB
2 changes: 1 addition & 1 deletion modules/tool/packages/Doc2X/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineToolSet({
'zh-CN': 'Doc2X 服务',
en: 'Doc2X Service'
},
type: ToolTypeEnum.tools,
type: ToolTypeEnum.productivity,
courseUrl: 'https://doc2x.noedgeai.com?inviteCode=9EACN2',
description: {
'zh-CN': '将传入的图片或PDF文件发送至Doc2X进行解析,返回带LaTeX公式的markdown格式的文本。',
Expand Down
2 changes: 1 addition & 1 deletion modules/tool/packages/dbops/children/clickhouse/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/tool/packages/dbops/children/mysql/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/tool/packages/dbops/children/oracle/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading