opencode-cursor-agent/etc/chat-api.yaml

42 lines
757 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: api-proxy
Host: 0.0.0.0
Port: 8766
Timeout: 3600000
# Cursor Agent 配置
AgentBin: /Users/daniel/.local/bin/agent
DefaultModel: claude-4.5-sonnet
Provider: cursor
TimeoutMs: 3600000
# 多帳號池配置
ConfigDirs:
- ~/.cursor-api-proxy/accounts/default
MultiPort: false
# TLS 憑證(可選)
TLSCertPath: ""
TLSKeyPath: ""
# 日誌
SessionsLogPath: ""
# Verbose 使用 RestConf 預設值
# 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: ""