bots-garden/mini-mepublic Fork
⑂ feature/mini-me-as-a-sdk
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. a8d612a · on feature/mini-me-as-a-sdk · k33g · 27d ago
agent.candidate.yaml · 98 lines · 3.9 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
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
# The candidate — the agent whose MODEL is tested on function calling. It
# has NO built-in tool (no bash, no file tools): only the six tools declared
# below, so every call it makes is one of them. Each runs tools/call.sh,
# which logs the call in work/calls.jsonl and answers with a made-up result.
#
# To test another model, change `model:` (and `sampling:` to that model's
# card values), then run the check again from agent.yaml. You can also change
# or add tools here: the checks in skills/function-calling-check/check.py
# read the calls by tool name and argument name.

provider: llmman
model: hf.co/OpenLLM-France/Luciole-1B-Instruct-1.1-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
contextWindow: 32768

sampling:
  # Luciole 1B Instruct 1.1 (OpenLLM-France / LINAGORA): the GGUF's own
  # sampling, read from llmman (general.sampling.temp / top_p): 0.7 / 0.9.
  # Its chat template takes tools (Hermes-style <tool_call> JSON) and has no
  # thinking switch.
  temperature: 0.7
  top_p: 0.9
  max_tokens: 2048

tools:
  - name: get_weather
    description: Current weather for a city.
    parameters:
      city: { type: string, description: "City name, e.g. Paris" }
      unit: { type: string, enum: [celsius, fahrenheit], required: false, default: celsius, description: "Temperature unit" }
    command: ["./tools/call.sh", "get_weather", "city={{city}}", "unit={{unit}}"]

  - name: convert_currency
    description: Convert an amount of money from one currency to another at today's rate.
    parameters:
      amount: { type: number, description: "The amount to convert" }
      from: { type: string, enum: [EUR, USD, JPY, GBP], description: "Currency of the amount" }
      to: { type: string, enum: [EUR, USD, JPY, GBP], description: "Currency wanted" }
    command: ["./tools/call.sh", "convert_currency", "amount={{amount}}", "from={{from}}", "to={{to}}"]

  - name: find_user
    description: Find a customer account by e-mail address. Returns the user_id.
    parameters:
      email: { type: string, description: "The customer's e-mail address" }
    command: ["./tools/call.sh", "find_user", "email={{email}}"]

  - name: list_orders
    description: List a customer's orders. Needs the user_id that find_user returns.
    parameters:
      user_id: { type: integer, description: "The customer's user_id" }
      status: { type: string, enum: [open, shipped, all], required: false, default: all, description: "Which orders" }
    command: ["./tools/call.sh", "list_orders", "user_id={{user_id}}", "status={{status}}"]

  - name: create_reminder
    description: Create a reminder for the user.
    parameters:
      text: { type: string, description: "What to be reminded of" }
      when: { type: string, description: "When, as the user said it or as a date and time" }
      urgent: { type: boolean, required: false, default: false, description: "true for an urgent reminder" }
    command: ["./tools/call.sh", "create_reminder", "text={{text}}", "when={{when}}", "urgent={{urgent}}"]

  - name: book_table
    description: Book a table in a restaurant.
    parameters:
      restaurant: { type: string, description: "Name of the restaurant" }
      date: { type: string, description: "Date and time of the booking" }
      people: { type: integer, description: "Number of people" }
    command: ["./tools/call.sh", "book_table", "restaurant={{restaurant}}", "date={{date}}", "people={{people}}"]

maxTurns: 8
maxOutput: 4000
displayCommands: true

yolo: true
bashTool: false
editTools: false
planTool: false
askUserTool: false
fetchContentTool: false
saveAnswerTool: false
unloadModels: false
skillsDir: no-skills

agentsMd:
  enabled: false

sessions:
  enabled: false

acp:
  name: candidate
  title: 🎯 Candidate (function calling under test)

# Neutral on purpose: no hint on when to call or not, so F7 and F8 test the
# model, not the prompt.
system: |
  You are an assistant with tools. Answer briefly.