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
98
|
# Function-calling tester — a coordinator that tests how well another
# agent's model calls tools. It follows the `function-calling-check` skill:
# eight requests given one by one to the `candidate` agent
# (agent.candidate.yaml, whose ONLY tools are declared in its `tools:` block)
# with ask_agent; every call the candidate makes is logged by tools/call.sh
# and checked by skills/function-calling-check/check.py; then a Markdown
# report in reports/.
#
# coordinator Gemma 4 12B hf.co/unsloth/gemma-4-12b-it-GGUF:Q4_K_M 7.3 GB
# candidate see agent.candidate.yaml — change its `model:` line to test another model
#
# cd testing/function-calling
# mm -tui then type: $function-calling-check
#
# Run it from this folder: the skill, tools/, work/ and reports/ are found
# from here. It runs commands without asking (yolo: true): the coordinator
# only runs the bench script, the candidate only its declared tools.
# Needs `python3` on the PATH (the tools and the checks).
provider: llmman
#model: hf.co/unsloth/gemma-4-12b-it-GGUF:Q4_K_M
model: hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M
#model: hf.co/unsloth/Qwen3.5-9B-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
contextWindow: 32768
mmConfigs:
candidate:
path: agent.candidate.yaml
description: >-
The agent under test. Give it one request at a time, exactly as the
function-calling-check skill words it.
yolo: true
# Both models stay loaded: the candidate is small, and reloading the
# coordinator after each request made it re-read the whole conversation —
# the server then broke its stream (seen 2026-10-26, Luciole 1B run).
unloadModels: false
sampling:
# Gemma 4: 0.2 / 0.95 / 64 is the "precise" setting measured in the
# demos (internal/agentinit/presets.yaml).
temperature: 0.2
top_p: 0.95
top_k: 64
max_tokens: 4096
parallel_tool_calls: false
# Seen on llmman (2026-10-26): without it this GGUF thinks before every
# answer (reasoning_content) — slower, for a job that is a procedure.
chat_template_kwargs:
enable_thinking: false
# start + 8 × (next, ask) + judged records + next + notes + report ≈ 25 round trips.
maxTurns: 40
# ask_agent hands back at most this much of the candidate's answer. Kept
# small: a candidate that runs away (seen: Luciole 1B, 42 calls then text in
# a loop) must not flood the coordinator's context — the server broke the
# coordinator's stream on such a long prompt (2026-10-26).
maxOutput: 2000
bashTimeout: 2m
# During ask_agent every event of the candidate counts as a sign of life.
watchdogTimeout: 5m
firstTokenTimeout: 3m
displayCommands: true
yolo: true
bashTool: true
editTools: true
planTool: false
askUserTool: false
fetchContentTool: false
skillsDir: skills
# The whole check is ONE question, so the history is never compressed
# during it: 32k must hold the skill and the eight answers (each cut at
# maxOutput). The results are also kept in reports/.results.tsv.
agentsMd:
enabled: false
sessions:
enabled: false
acp:
name: function-calling-tester
title: 🧪 Function-calling tester
system: |
You are a function-calling tester. You test the agent named candidate:
you send it requests with the ask_agent tool and check the tool calls it
made. You never answer its requests yourself.
When the user asks you to test, to check or to evaluate the candidate,
load the function-calling-check skill with read_skill and follow it: the bench
script tells you each step; do exactly what it prints.
Answer the user in their language, briefly. The report is in English.
|