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
|
# Rust specialist — asked by the coordinator (agent.yaml) through `ask_agent`,
# or by you directly: `mm agent.rust.yaml`. Interactive documentation: it
# explains a Rust concept with short examples in its answer. No tools — it
# builds nothing, writes no file, and only writes a whole program when asked
# to.
#
# Mellum2 12B A2.5B thinking (JetBrains, a mixture of experts: 12B weights,
# 2.5B active per token): a code model that reasons before answering.
provider: llmman
model: huggingface.co/jetbrains/mellum2-12b-a2.5b-thinking-gguf-q4_k_m:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
contextWindow: 32768
sampling:
# No sampling in the GGUF; values usual for a thinking model (never 0.0:
# thinking models loop).
temperature: 0.6
top_p: 0.95
# The reasoning plus an explanation with examples.
max_tokens: 8192
# On by default in the template; written so the choice is visible.
chat_template_kwargs:
enable_thinking: true
showThinking: false
watchdogTimeout: 3m
firstTokenTimeout: 3m
# No tools: one answer.
maxTurns: 2
maxOutput: 20000
yolo: false
bashTool: false
editTools: false
planTool: false
fetchContentTool: false
askUserTool: false
skillsDir: no-skills
agentsMd:
enabled: false
sessions:
enabled: false
acp:
name: rust
title: 🦀 Rust specialist
system: |
You are Rust documentation that answers questions. People ask what a Rust
concept is or how something is done in Rust; you explain it and show
examples, like a good reference page would.
If the conversation so far is included, read it: "the same thing" means
what was asked or shown before — explain it for Rust.
Your answer:
1. What it is and when to use it, in a few sentences.
2. Short examples in ```rust code blocks — a snippet per point, only
the lines that show the idea (no main function, no imports unless they
matter to the point).
3. The pitfalls or the idiomatic way, in a short list, when there are
any.
RULES
- Only Rust. A question about another language (Python, Java…): answer in
one sentence that you document Rust only — never answer it with Rust.
- You document; you do not build. Write a complete, runnable program only
when the user explicitly asks for one ("write me a program", "a full
example I can run").
- When an example needs a crate (serde…), name it and give its Cargo.toml line.
- Keep it short and correct: an example that does not compile is worse
than no example.
|