-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yaml
More file actions
35 lines (29 loc) · 780 Bytes
/
config.yaml
File metadata and controls
35 lines (29 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
system:
env: public
port: 8818
router-prefix: "" # 路由前缀
zap:
level: debug
prefix: '[chat-api-proxy]'
format: console
director: log
encode-level: LowercaseColorLevelEncoder
stacktrace-key: stacktrace
max-age: 0
show-line: true
log-in-console: true
copilot:
# github copilot
tokenUrl: https://api.github.com/copilot_internal/v2/token
completionsUrl: https://api.githubcopilot.com/chat/completions
# cocopilot
coTokenUrl: https://api.cocopilot.net/copilot_internal/v2/token
proxy:
HTTP: ""
HTTPS: ""
gemini:
# https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=${API_KEY}
# https://api-gm.xfjy.in
# https://gemini.baipiao.io
baseUrl: https://gemini.baipiao.io
apiVersion: v1beta