bots-garden/mini-mepublic Fork
⑂ v1.1.1
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. cd2a817 · on v1.1.1 · k33g · Oct 24, 2026
agent.yaml · 63 lines · 2.5 KBYAML Blame HistoryRaw
 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
# A Go assistant helped by a decider. Before each question reaches the chat
# model, a preGeneration hook — a Go program, hooks/ask-decider — sends it to a
# decision model (agent.decider.yaml) and adds its answers under the question.
# The system prompt tells the chat model what to do with them.
#
#   you ──► question ──► hook (Go) ──► decider (d1-3B, /v1/systemone)
#                          │◄── answers (level, topic, wants_code)
#                          ▼
#              question + answers ──► chat model (Qwen3.5-4B) ──► answer
#
#   cd demos/decision-chat-golang
#   mm tui agent.yaml           # or: mm agent.yaml, or mm -config agent.yaml -p "…"
#
# The hook runs with `go run`: Go must be on the PATH. Build it once to save
# the compile check on each question — see the README.
provider: llmman
model: hf.co/unsloth/Qwen3.5-4B-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1

system: |
  You are a Go programming assistant. You answer questions about Go; you have
  no tools.

  Under each question you find a block "[context added by a hook]": what a
  decision model read in the question. Shape your answer with it, and never
  mention the block:

  - level beginner: explain in plain words, one idea at a time, and say why.
    level intermediate: get to the point, a short explanation. level expert:
    precise and short, name the exact rule or function, skip the basics.
  - wants_code yes: give a complete, runnable Go example in a code block.
    wants_code no: no code block unless one line of code makes it clearer.
  - topic concurrency: say how to check the code with `go test -race`.
    topic errors: wrap with `fmt.Errorf("…: %w", err)` and test with
    `errors.Is` / `errors.As` when it applies. topic testing: prefer
    table-driven tests. topic modules: give the exact `go` commands.

sampling:
  temperature: 0.2
  max_tokens: 1536
  # Qwen3.5 thinks by default; with rules like these it can loop until the limit.
  chat_template_kwargs:
    enable_thinking: false

# The chat model answers from what it knows: no tools, no skills.
bashTool: false
editTools: false
planTool: false
fetchContentTool: false
askUserTool: false
unloadModels: false
skillsDir: no-skills
agentsMd:
  enabled: false

# Shows a 🪝 line for each hook run: which hook ran and how much context it added.
displayHooks: true

hooks:
  preGeneration:
    - command: cd "$MM_CONFIG_DIR/hooks/ask-decider" && go run .
      timeout: 60s   # the first call loads the decision model (and go run compiles once)