sarkyboy commited on
Commit
95291f4
·
1 Parent(s): 1eea4f3

Rewrite config.yaml strictly following schema

Browse files
Files changed (1) hide show
  1. config.yaml +6 -24
config.yaml CHANGED
@@ -1,37 +1,19 @@
 
1
  port: 7860
2
 
3
- # Management API settings
4
- remote-management:
5
- allow-remote: false
6
- secret-key: ""
7
- disable-control-panel: false
8
-
9
  # Authentication directory
10
  auth-dir: "/CLIProxyAPI/auth"
11
 
12
- # API keys for authentication (Access Control)
13
- # api-keys:
14
- # - "sk-030916"
15
-
16
  # Enable debug logging
17
  debug: true
18
 
19
- # When true, write application logs to rotating files instead of stdout
20
  logging-to-file: false
21
 
22
- # When false, disable in-memory usage statistics aggregation
23
- usage-statistics-enabled: false
24
-
25
- # Request retry
26
- request-retry: 3
27
-
28
- # Payload configuration to map models
29
- payload:
30
- override:
31
- - models:
32
- - name: "gemini-*"
33
- protocol: "gemini"
34
 
35
  # Gemini API keys
36
  gemini-api-key:
37
- - api-key: "placeholder_to_enable_provider"
 
1
+ # Server port
2
  port: 7860
3
 
 
 
 
 
 
 
4
  # Authentication directory
5
  auth-dir: "/CLIProxyAPI/auth"
6
 
 
 
 
 
7
  # Enable debug logging
8
  debug: true
9
 
10
+ # Write application logs to rotating files (false = stdout)
11
  logging-to-file: false
12
 
13
+ # Legacy shorthand for inline API keys (Access Control)
14
+ api-keys:
15
+ - "sk-030916"
 
 
 
 
 
 
 
 
 
16
 
17
  # Gemini API keys
18
  gemini-api-key:
19
+ - api-key: "placeholder"