forked from jakobdylanc/llmcord
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
90 lines (65 loc) · 1.8 KB
/
Copy pathconfig.yaml
File metadata and controls
90 lines (65 loc) · 1.8 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Discord settings:
bot_token:
client_id: 1438178894850166904
status_message: Powered by llmcord!
max_text: 100000
max_images: 5
max_messages: 25
use_plain_responses: false
allow_dms: false
permissions:
users:
admin_ids: [212409751391305729]
allowed_ids: []
blocked_ids: []
roles:
allowed_ids: []
blocked_ids: []
channels:
allowed_ids: []
blocked_ids: []
# LLM settings:
providers:
# Remote providers:
azure-openai:
base_url: https://<resource name>.openai.azure.com/openai/deployments/<deployment name>
api_key:
extra_query:
api-version: 2024-12-01-preview
google:
base_url: https://generativelanguage.googleapis.com/v1beta/openai
api_key:
groq:
base_url: https://api.groq.com/openai/v1
api_key:
mistral:
base_url: https://api.mistral.ai/v1
api_key:
openai:
base_url: https://api.openai.com/v1
api_key:
openrouter:
base_url: https://openrouter.ai/api/v1
api_key:
x-ai:
base_url: https://api.x.ai/v1
api_key:
# Local providers:
lmstudio:
base_url: http://localhost:1234/v1
ollama:
base_url: http://localhost:11434/v1
vllm:
base_url: http://localhost:8000/v1
models:
openrouter/openai/gpt-chat-latest:
tools:
- type: openrouter:web_search
- type: openrouter:web_fetch
system_prompt: |
You are a friendly and helpful bot on the OpenRouter Discord server.
You are powered by llmcord (https://github.com/jakobdylanc/llmcord), an open-source Discord bot project.
Keep responses concise and below 4000 characters total.
Always use markdown (codeblocks, etc.) when appropriate. Do not use markdown tables.
Today's date is {date}. The current time is {time}.
User messages are prefixed with their Discord ID as <@ID>. Use this format to mention users.