Spaces:
Paused
Paused
Commit
·
2afe034
1
Parent(s):
94d41d2
部署
Browse files- config.yaml +5 -5
config.yaml
CHANGED
|
@@ -20,9 +20,9 @@ auth-dir: "/CLIProxyAPI/auth"
|
|
| 20 |
# API keys for authentication
|
| 21 |
api-keys: [sk-123]
|
| 22 |
# Enable debug logging
|
| 23 |
-
debug:
|
| 24 |
# When true, write application logs to rotating files instead of stdout
|
| 25 |
-
logging-to-file:
|
| 26 |
# When false, disable in-memory usage statistics aggregation
|
| 27 |
usage-statistics-enabled: true
|
| 28 |
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
|
@@ -31,9 +31,9 @@ proxy-url: ""
|
|
| 31 |
request-retry: 0
|
| 32 |
# Quota exceeded behavior
|
| 33 |
quota-exceeded:
|
| 34 |
-
switch-project:
|
| 35 |
-
switch-preview-model:
|
| 36 |
-
request-log:
|
| 37 |
generative-language-api-key: []
|
| 38 |
claude-api-key: []
|
| 39 |
codex-api-key: []
|
|
|
|
| 20 |
# API keys for authentication
|
| 21 |
api-keys: [sk-123]
|
| 22 |
# Enable debug logging
|
| 23 |
+
debug: true
|
| 24 |
# When true, write application logs to rotating files instead of stdout
|
| 25 |
+
logging-to-file: false
|
| 26 |
# When false, disable in-memory usage statistics aggregation
|
| 27 |
usage-statistics-enabled: true
|
| 28 |
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
|
|
|
| 31 |
request-retry: 0
|
| 32 |
# Quota exceeded behavior
|
| 33 |
quota-exceeded:
|
| 34 |
+
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
|
| 35 |
+
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
| 36 |
+
request-log: true
|
| 37 |
generative-language-api-key: []
|
| 38 |
claude-api-key: []
|
| 39 |
codex-api-key: []
|