2026-04-04 04:49:32 +00:00
|
|
|
|
Name: api-proxy
|
2026-04-03 09:15:35 +00:00
|
|
|
|
Host: 0.0.0.0
|
2026-04-04 04:49:32 +00:00
|
|
|
|
Port: 8766
|
2026-04-03 15:17:04 +00:00
|
|
|
|
|
|
|
|
|
|
# Cursor Agent 配置
|
|
|
|
|
|
AgentBin: cursor
|
2026-04-04 04:49:32 +00:00
|
|
|
|
DefaultModel: claude-4.5-sonnet
|
2026-04-03 15:17:04 +00:00
|
|
|
|
Provider: cursor
|
2026-04-04 04:49:32 +00:00
|
|
|
|
TimeoutMs: 36000000
|
2026-04-03 15:17:04 +00:00
|
|
|
|
|
|
|
|
|
|
# 多帳號池配置
|
|
|
|
|
|
ConfigDirs:
|
|
|
|
|
|
- ~/.cursor-api-proxy/accounts/default
|
|
|
|
|
|
MultiPort: false
|
|
|
|
|
|
|
|
|
|
|
|
# TLS 憑證(可選)
|
|
|
|
|
|
TLSCertPath: ""
|
|
|
|
|
|
TLSKeyPath: ""
|
|
|
|
|
|
|
|
|
|
|
|
# 日誌
|
|
|
|
|
|
SessionsLogPath: ""
|
2026-04-04 04:49:32 +00:00
|
|
|
|
# Verbose 使用 RestConf 預設值
|
2026-04-03 15:17:04 +00:00
|
|
|
|
|
|
|
|
|
|
# Gemini Web Provider 配置
|
|
|
|
|
|
GeminiAccountDir: ~/.cursor-api-proxy/gemini-accounts
|
|
|
|
|
|
GeminiBrowserVisible: false
|
|
|
|
|
|
GeminiMaxSessions: 10
|
|
|
|
|
|
|
|
|
|
|
|
# 工作區配置
|
|
|
|
|
|
Workspace: ""
|
|
|
|
|
|
ChatOnlyWorkspace: true
|
|
|
|
|
|
WinCmdlineMax: 32768
|
|
|
|
|
|
|
|
|
|
|
|
# Agent 行為
|
|
|
|
|
|
Force: false
|
|
|
|
|
|
ApproveMcps: false
|
|
|
|
|
|
MaxMode: false
|
|
|
|
|
|
StrictModel: true
|
|
|
|
|
|
|
|
|
|
|
|
# API Key(可選,留空則不驗證)
|
|
|
|
|
|
RequiredKey: ""
|