Files
ai-agent/docker/agent-desk-lancedb.yaml
T
mlogclub f827a7471c refactor: remove LocaleSwitcher component and update locale handling
- Removed LocaleSwitcher from NavUser, SiteHeader, and WorkbenchHeader components.
- Updated tests to reflect the removal of LocaleSwitcher.
- Changed default locale from "en-US" to "zh-CN" in i18n configuration.
- Refactored locale resolution logic to read configured locale without relying on browser language detection.
- Updated AgentDesk SDK to support language configuration from public API.
- Cleaned up unused auth options fetching in the auth API.
2026-06-26 14:46:01 +08:00

68 lines
1.1 KiB
YAML

language: zh-CN
server:
port: 8083
cors:
allowedOrigins:
- http://localhost:8083
- http://127.0.0.1:8083
db:
type: mysql
dsn: cs_ai_agent:cs_ai_agent_password@tcp(mysql:3306)/cs_ai_agent?charset=utf8mb4&parseTime=True&loc=Local
logger:
level: info
format: text
addSource: false
auth:
tokenTTLHours: 24
maxFailedAttempts: 5
credentialLockMinute: 30
storage:
default: local
maxUploadSizeMB: 5
local:
root: /app/data/storage
baseUrl: /storage
oss:
endpoint: ""
bucket: ""
accessKeyId: ""
accessKeySecret: ""
baseUrl: ""
private: false
signedUrlExpireSeconds: 600
vectorDB:
type: lancedb
qdrant:
host: qdrant
grpcPort: 6334
apiKey: ""
useTls: false
lancedb:
path: /app/data/lancedb
mcp:
enabled: true
servers:
system:
enabled: true
endpoint: http://127.0.0.1:8083/api/mcp
timeoutMs: 60000
headers: {}
wxWork:
enabled: false
oidc:
enabled: false
customerSession:
secret: change-me
ttlMinutes: 120
refreshThresholdMinutes: 30