41 lines
701 B
YAML
41 lines
701 B
YAML
Name: cursor-api-proxy
|
||
Host: 0.0.0.0
|
||
Port: 8080
|
||
|
||
# Cursor Agent 配置
|
||
AgentBin: cursor
|
||
DefaultModel: claude-3.5-sonnet
|
||
Provider: cursor
|
||
TimeoutMs: 300000
|
||
|
||
# 多帳號池配置
|
||
ConfigDirs:
|
||
- ~/.cursor-api-proxy/accounts/default
|
||
MultiPort: false
|
||
|
||
# TLS 憑證(可選)
|
||
TLSCertPath: ""
|
||
TLSKeyPath: ""
|
||
|
||
# 日誌
|
||
SessionsLogPath: ""
|
||
Verbose: false
|
||
|
||
# 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: "" |