bots-garden/mini-mepublic Fork
⑂ v2.0.0
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. 22b9c5e · on v2.0.0 · k33g · 4d ago
v1.1.1.en.md · 75 lines · 5.8 KBmarkdown
Blame HistoryOpen raw

mini-me v1.1.1

Version française

OpenAI's reasoning models keep reasoning while they call tools with the new openai-responses provider, llama.cpp moves to its new default port 9931 (8080 still tried), mm init proposes llamacpp first, and mm stops with a clear error when there is no agent file.

New

openai-responses: OpenAI's Responses API (#178)

Some OpenAI reasoning models refuse tools on /v1/chat/completions while they reason — seen with gpt-6-luna: "Function tools with reasoning_effort are not supported … use /v1/responses or set reasoning_effort to 'none'". An mm agent always sends tools, so until now the only way out was reasoning_effort: none, which turns the reasoning off. The new openai-responses provider speaks the Responses API (POST /v1/responses) and keeps both:

provider: openai-responses
model: gpt-6-luna
contextWindow: 400000
sampling:
  reasoning_effort: medium        # sent as reasoning.effort
  max_completion_tokens: 16000    # sent as max_output_tokens
  reasoning:
    summary: auto                 # the reasoning summary, shown as thoughts
  • Same address (https://api.openai.com/v1 by default), same key (OPENAI_API_KEY or apiKeyEnv), same start-up checks and error messages as openai. The openai provider does not change.
  • The sampling block goes as written, without mm's defaults; max_tokens and max_completion_tokens become max_output_tokens, and reasoning_effort becomes reasoning.effort.
  • The model keeps its thread from one tool call to the next: mm asks for the encrypted reasoning (store: false, include: ["reasoning.encrypted_content"], nothing kept on OpenAI's side) and sends it back with the tool results. store or include written in sampling win.
  • Streaming, the thoughts (reasoning: {summary: auto}; OpenAI may require a verified organisation for it), the token counts, structuredOutput and the compaction summary work as with the other providers.
  • mm init and mm acp-create offer it after openai, with the same endpoint and key questions.

Tested by the user with a real key. Not handled: toolFormat: xml_tools, a decision model (refused at start-up), /unload. Which other servers serve /v1/responses was not checked.

See How to keep reasoning and tools together with OpenAI's Responses API.

llama.cpp: port 9931, then 8080 (#218, #211, #219)

llama-server listens on 127.0.0.1:9931 by default since llama.cpp b11521 (2026-10-09), and in llama.cpp v1.0.0; older builds and the official Docker images still use 8080. The llamacpp provider now uses http://127.0.0.1:9931/v1 and, when it does not answer, tries http://127.0.0.1:8080/v1 before the container address. A baseUrl of your own is used as written.

  • From a container or a Docker Sandbox, the fallback is now http://host.docker.internal:9931/v1 (start llama-server with --host 0.0.0.0; in a sandbox, sbx policy allow network host.docker.internal:9931).
  • mm init and mm acp-create list the models from whichever address answers.
  • The start-up hint says --port 9931; agent.llamacpp.yaml and the llama.cpp samples use 9931.
  • The Llama app (llama.app, ggml-org's macOS app built on llama.cpp) serves on 9931 too: it works with provider: llamacpp, nothing else to set (checked by the user).

Not tried with a real llama-server in this repository.

See How to run mini-me on llama.cpp.

mm init proposes llamacpp first (#221)

llamacpp comes first in the list of servers, and is the default when llama-server answers or when nothing does. When llama-server is not running but llmman, Ollama… is, that one is proposed. Same in mm acp-create.

Fixed

No agent file: an error instead of a model you never chose (#220)

mm, mm tui, mm -p, --ask and mm acp started in a directory with no agent.yaml nor .mm/agent.yaml used to run anyway, with Mellum2 on Docker Model Runner. They now stop (exit code 1) with:

[config error: no agent file in <dir> — looked for agent.yaml and .mm/agent.yaml (AGENT_CONFIG is not set).
 Create one with: mm init (or mm acp-create from an editor). Or name one: mm <file>, AGENT_CONFIG=<file> ]

mm init, mm acp-create, mm skillcreate, mm dockerinit, mm sbxinit, --version and --about need no agent file. How Zed shows an mm acp that stops at start-up was not checked: the message is in its ACP log.

Documentation

  • New guide: Keep reasoning and tools together with OpenAI's Responses API.
  • The llama.cpp guide drops --port from its start line and has a "llama-server on 8080" variant; the configuration and CLI references, the container and sandbox guides describe port 9931 and the 8080 retry.
  • The configuration and CLI references, the providers and mm init explanations and the OpenAI-compatible guide describe openai-responses; the CLI reference describes the no-agent-file error.

Upgrading

  • Replace the binary: see the install guides for macOS, Linux and Windows.
  • mm needs an agent file. A script, an editor setting or a sandbox kit that started mm without one now gets the error above: create one with mm init, or name it (mm <file>, AGENT_CONFIG).
  • llama.cpp on 8080 on the same machine: nothing to change, mm tries it after 9931. From a container or a sandbox, the fallback moved from host.docker.internal:8080 (v1.1.0) to :9931: start llama-server on 9931, or set baseUrl: http://host.docker.internal:8080/v1. In a sandbox, allow port 9931.
  • A file with baseUrl: http://127.0.0.1:8080/v1 keeps that server; with http://127.0.0.1:9931/v1 (or no baseUrl), 8080 is still tried.
 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
# mini-me v1.1.1

*[Version française](v1.1.1.fr.md)*

OpenAI's reasoning models keep reasoning while they call tools with the new `openai-responses` provider, llama.cpp moves to its new default port 9931 (8080 still tried), `mm init` proposes llamacpp first, and mm stops with a clear error when there is no agent file.

## New

### `openai-responses`: OpenAI's Responses API (#178)

Some OpenAI reasoning models refuse tools on `/v1/chat/completions` while they reason — seen with `gpt-6-luna`: "Function tools with reasoning_effort are not supported … use /v1/responses or set reasoning_effort to 'none'". An mm agent always sends tools, so until now the only way out was `reasoning_effort: none`, which turns the reasoning off. The new `openai-responses` provider speaks the Responses API (`POST /v1/responses`) and keeps both:

```yaml
provider: openai-responses
model: gpt-6-luna
contextWindow: 400000
sampling:
  reasoning_effort: medium        # sent as reasoning.effort
  max_completion_tokens: 16000    # sent as max_output_tokens
  reasoning:
    summary: auto                 # the reasoning summary, shown as thoughts
```

- Same address (`https://api.openai.com/v1` by default), same key (`OPENAI_API_KEY` or `apiKeyEnv`), same start-up checks and error messages as `openai`. The `openai` provider does not change.
- The `sampling` block goes as written, without mm's defaults; `max_tokens` and `max_completion_tokens` become `max_output_tokens`, and `reasoning_effort` becomes `reasoning.effort`.
- The model keeps its thread from one tool call to the next: mm asks for the encrypted reasoning (`store: false`, `include: ["reasoning.encrypted_content"]`, nothing kept on OpenAI's side) and sends it back with the tool results. `store` or `include` written in `sampling` win.
- Streaming, the thoughts (`reasoning: {summary: auto}`; OpenAI may require a verified organisation for it), the token counts, `structuredOutput` and the compaction summary work as with the other providers.
- `mm init` and `mm acp-create` offer it after `openai`, with the same endpoint and key questions.

Tested by the user with a real key. Not handled: `toolFormat: xml_tools`, a decision model (refused at start-up), `/unload`. Which other servers serve `/v1/responses` was not checked.

See [How to keep reasoning and tools together with OpenAI's Responses API](../docs/en/how-to/use-the-openai-responses-api.md).

### llama.cpp: port 9931, then 8080 (#218, #211, #219)

llama-server listens on `127.0.0.1:9931` by default since llama.cpp b11521 (2026-10-09), and in llama.cpp v1.0.0; older builds and the official Docker images still use 8080. The `llamacpp` provider now uses `http://127.0.0.1:9931/v1` and, when it does not answer, tries `http://127.0.0.1:8080/v1` before the container address. A `baseUrl` of your own is used as written.

- From a container or a Docker Sandbox, the fallback is now `http://host.docker.internal:9931/v1` (start llama-server with `--host 0.0.0.0`; in a sandbox, `sbx policy allow network host.docker.internal:9931`).
- `mm init` and `mm acp-create` list the models from whichever address answers.
- The start-up hint says `--port 9931`; `agent.llamacpp.yaml` and the llama.cpp samples use 9931.
- **The Llama app** ([llama.app](https://llama.app/), ggml-org's macOS app built on llama.cpp) serves on 9931 too: it works with `provider: llamacpp`, nothing else to set (checked by the user).

Not tried with a real llama-server in this repository.

See [How to run mini-me on llama.cpp](../docs/en/how-to/run-with-llama-cpp.md).

### `mm init` proposes llamacpp first (#221)

`llamacpp` comes first in the list of servers, and is the default when llama-server answers or when nothing does. When llama-server is not running but llmman, Ollama… is, that one is proposed. Same in `mm acp-create`.

## Fixed

### No agent file: an error instead of a model you never chose (#220)

`mm`, `mm tui`, `mm -p`, `--ask` and `mm acp` started in a directory with no `agent.yaml` nor `.mm/agent.yaml` used to run anyway, with Mellum2 on Docker Model Runner. They now stop (exit code 1) with:

```text
[config error: no agent file in <dir> — looked for agent.yaml and .mm/agent.yaml (AGENT_CONFIG is not set).
 Create one with: mm init (or mm acp-create from an editor). Or name one: mm <file>, AGENT_CONFIG=<file> ]
```

`mm init`, `mm acp-create`, `mm skillcreate`, `mm dockerinit`, `mm sbxinit`, `--version` and `--about` need no agent file. How Zed shows an `mm acp` that stops at start-up was not checked: the message is in its ACP log.

## Documentation

- New guide: [Keep reasoning and tools together with OpenAI's Responses API](../docs/en/how-to/use-the-openai-responses-api.md).
- The llama.cpp guide drops `--port` from its start line and has a "llama-server on 8080" variant; the configuration and CLI references, the container and sandbox guides describe port 9931 and the 8080 retry.
- The configuration and CLI references, the providers and `mm init` explanations and the OpenAI-compatible guide describe `openai-responses`; the CLI reference describes the no-agent-file error.

## Upgrading

- **Replace the binary**: see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md).
- **mm needs an agent file.** A script, an editor setting or a sandbox kit that started mm without one now gets the error above: create one with `mm init`, or name it (`mm <file>`, `AGENT_CONFIG`).
- **llama.cpp on 8080 on the same machine:** nothing to change, mm tries it after 9931. **From a container or a sandbox**, the fallback moved from `host.docker.internal:8080` (v1.1.0) to `:9931`: start llama-server on 9931, or set `baseUrl: http://host.docker.internal:8080/v1`. In a sandbox, allow port 9931.
- A file with `baseUrl: http://127.0.0.1:8080/v1` keeps that server; with `http://127.0.0.1:9931/v1` (or no `baseUrl`), 8080 is still tried.