Browse Source

update Gemini File API config

supeng 1 month ago
parent
commit
39088c0ba4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docker-compose.yml

+ 2 - 2
docker-compose.yml

@@ -32,8 +32,8 @@ services:
       - TZ=Asia/Shanghai
       - ERROR_LOG_ENABLED=true # 是否启用错误日志记录 (Whether to enable error log recording)
       - BATCH_UPDATE_ENABLED=true  # 是否启用批量更新 (Whether to enable batch update)
-#      - MAX_REQUEST_BODY_MB=500  # 请求体最大大小(MB),用于支持大文件上传 (Max request body size in MB for large file uploads)
-#      - STREAMING_TIMEOUT=300  # 流模式无响应超时时间,单位秒,默认120秒,如果出现空补全可以尝试改为更大值 (Streaming timeout in seconds, default is 120s. Increase if experiencing empty completions)
+      - MAX_REQUEST_BODY_MB=500  # 请求体最大大小(MB),用于支持大文件上传 (Max request body size in MB for large file uploads)
+      - STREAMING_TIMEOUT=300  # 流模式无响应超时时间,单位秒,默认120秒,如果出现空补全可以尝试改为更大值 (Streaming timeout in seconds, default is 120s. Increase if experiencing empty completions)
 #      - SESSION_SECRET=random_string  # 多机部署时设置,必须修改这个随机字符串!! (multi-node deployment, set this to a random string!!!!!!!)
 #      - SYNC_FREQUENCY=60  # Uncomment if regular database syncing is needed
 #      - GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX  # Google Analytics 的测量 ID (Google Analytics Measurement ID)