zwen168 (@cytao)codex通过cpa的反代api使用方法 中发帖

分享一下我使用cpa反代的经验 
下载cpa之后,找到cpa的config.yaml,打开复制这段话: 
host:127.0.0.1” 
port: 8317 
auth-dir: “你的cpa安装地址”/auth” 
api-keys: 

“你的api key” 
debug: true 
routing: 
strategy: “round-robin” 
quota-exceeded: 
switch-project: true 
switch-preview-model: false 
request-retry: 3 
max-retry-credentials: 0 
max-retry-interval: 30 
remote-management: 
allow-remote: true 
secret-key: “管理页面密码” 
disable-control-...
 
 
Back to Top