-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
43 lines (36 loc) · 800 Bytes
/
Copy pathconfig.yaml
File metadata and controls
43 lines (36 loc) · 800 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
40
41
42
43
bilibili:
credential_path: "data/credentials.json"
monitor:
poll_interval: 60
batch_size: 20
processing_interval_seconds: 20
processing_timeout_minutes: 20
reply:
rate_limit_seconds: 3
max_retries: 3
agent:
model: "openai/gpt-4o-mini"
api_base: "https://api.openai.com/v1"
api_key: "${LITELLM_API_KEY}"
max_tokens: 500
temperature: 0.7
system_prompt: |
You are a helpful assistant on Bilibili.
Respond naturally in Chinese to comments that @mention the user.
Keep your responses concise and friendly.
tools:
enabled:
- search
search:
api_key: "${SEARCH_API_KEY}"
engine: "duckduckgo"
logging:
level: "INFO"
format: "text"
file: "data/grok.log"
max_bytes: 10485760
backup_count: 3
health:
enabled: true
port: 8080
host: "0.0.0.0"