-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml.example
More file actions
97 lines (90 loc) · 3.26 KB
/
config.yml.example
File metadata and controls
97 lines (90 loc) · 3.26 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
91
92
93
94
95
96
97
# Model provider configuration
providers:
deepseek:
type: deepseek
base_url: https://api.deepseek.com
api_key: sk-secret-token
# Model configuration
models:
deepseek-chat:
provider: deepseek
model: deepseek-chat
temperature: 0.8
deepseek-reasoner:
provider: deepseek
model: deepseek-reasoner
temperature: 0.8
# Chat preset configuration
# Available fields:
# - model: model name to use
# - desc: description of the chat preset
# - system: system prompt for the assistant
# - maxMessageRounds: maximum number of message rounds to keep in context (default: 10)
# - fullMessageRounds: number of recent rounds to keep full messages, older rounds will be simplified (default: 1)
# - maxIterations: maximum iterations for tool calling (default: 20)
# - maxRetries: maximum retries for model generation (default: 5)
# - mcp_servers: list of MCP servers to use
# - tools: list of built-in tools to use (see tools section below)
# - persistence: whether to persist conversation context (default: false)
#
# tools section configuration:
# Each tool can have:
# - category: tool category ("filesystem", "cmd", "smart_cmd")
# - params: parameters for the tool
# - workDir: working directory (required for filesystem and cmd tools)
# - exclude: list of tool names to exclude (optional, for filesystem category)
# Example filesystem tools that can be excluded: read_file, write_file, list_directory, etc.
# - autoApproval: whether to auto-approve tool calls (default: false)
# - skill: skill configuration
# - hooks: session hooks configuration
# - default: whether this is the default chat preset
chats:
default:
model: deepseek-chat
desc: "A friendly assistant"
system: "You are a helpful search assistant."
# persistence: false # Default: disabled, set to true to enable context persistence
temp-chat:
model: deepseek-chat
desc: "Temporary chat without persistence"
system: "You are a helpful search assistant."
# persistence: false # Explicitly disabled (same as default)
persistent-chat:
model: deepseek-chat
desc: "Chat with history persistence enabled"
system: "You are a helpful assistant with memory."
persistence: true # Enable persistence for this chat
default-mcp:
model: deepseek-chat
desc: "A friendly assistant"
system: "You are a helpful search assistant."
mcp_servers:
- web_search
reasoner:
model: deepseek-reasoner
desc: "A friendly assistant"
system: "You are a helpful search assistant."
reasoner-mcp:
model: deepseek-reasoner
desc: "A friendly assistant"
system: "You are a helpful search assistant."
mcp_servers:
- web_search
template-example:
model: deepseek-chat
desc: "Assistant with template variables"
system: |
You are a helpful assistant.
Context information:
- Current working directory: {{.Cwd}}
- Today's date: {{.Date}}
- Current time: {{.Now.Format "2006-01-02 15:04:05"}}
- Username: {{.User}}
- Home directory: {{.Home}}
- Environment USER: {{env "USER"}}
Please help the user with tasks in the current directory.
# MCP server configuration
mcp_servers:
web_search:
type: sse
url: "https://your-mcp-host"