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
|
# The decider of hooks/ask-decider.js: every message it receives is a question
# the user asked the chat agent; it answers three typed questions about the
# person asking, in one forward pass, and writes no text.
#
# mm -config agent.decider.yaml -p "quick: undo my last commit but keep the changes"
#
# Change, add or remove questions here: the hook passes every answer on to the
# chat model, whatever its name and type. Then say in agent.yaml's `system`
# what the chat model should do with it.
#
# Pull the model once: llmman pull hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
provider: llmman
model: hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
decision:
# The first call loads the model (2 to 13 s); a warm one takes 0.2–0.5 s.
timeout: 60s
questions:
level:
type: choice
instructions: How familiar is the person with git?
criteria:
beginner: New to git, unsure of the basic words such as commit, branch or staging
intermediate: Uses git every day, but not its less common commands
expert: Knows git well and asks about a precise command or option
hurry:
type: noul
# Asked about the words, not the intention: "the person is in a hurry"
# scored 0.5 to 0.7 on calm questions too.
instructions: The message contains a word asking for speed, such as quick, fast, asap or now.
upset:
type: noul
instructions: The person is worried, stressed or upset.
# A decider gets no tool: mm turns bash, the file tools, plan, ask_user and
# skills off by itself (no `…: false` lines needed).
agentsMd:
enabled: false
|