forked from yushangxiao/claude2api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
39 lines (29 loc) · 923 Bytes
/
config.yaml.example
File metadata and controls
39 lines (29 loc) · 923 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
35
36
37
38
39
# Claude2API Configuration Example
# This is an example configuration file for Claude2API
# Copy this file to config.yaml and modify it according to your needs
# Sessions configuration
# Format: list of session objects with sessionKey and optional orgID
sessions:
- sessionKey: "your_session_key_1"
orgID: "your_org_id_1"
- sessionKey: "your_session_key_2"
orgID: "your_org_id_2"
# Server address (default: "0.0.0.0:8080")
address: "0.0.0.0:8080"
# API authentication key
apiKey: "your_api_key"
# Proxy address (optional)
proxy: ""
# Chat deletion setting (default: true)
chatDelete: true
# Maximum chat history length (default: 10000)
maxChatHistoryLength: 10000
# Retry count (default: number of sessions, max 5)
retryCount: 2
# Role prefix settings
noRolePrefix: false
# Prompt disable artifacts setting
promptDisableArtifacts: false
# Mirror API settings
enableMirrorApi: false
mirrorApiPrefix: ""