Skip to content

1.13.0

Latest

Choose a tag to compare

@av av released this 11 Nov 11:34
  • fix: --sandbox passes your settings into the container — OPENAI_*, MODEL, REASONING_EFFORT, SYSTEM_PROMPT and MI_* from the shell or config.json (before, only the API key went in, so a sandboxed mi ignored a local OPENAI_BASE_URL and sent the key to api.openai.com with the default model). Settings go to docker by name, so the API key is no longer visible in ps
  • fix: --sandbox runs the image of the mi version you run (ghcr.io/av/mi:1.13.0), not a :latest that docker pulled once and never updated; MI_IMAGE still overrides
  • fix: mi starts when installed under a path with spaces, # or non-ASCII letters (it crashed with ENOENT .../mi%20dir/package.json)
  • fix: ~/.mi/config.json accepts JSON values that are not strings, e.g. "MI_API_PARAMS": {"temperature": 0} (it exited with MI_API_PARAMS: invalid JSON)
  • docs: user tools in ~/.mi/tools/*.mjs are documented (idea from #2 by @screenfluent)

Known limitations

  • The first --sandbox run after an upgrade pulls that version's image (~270 MB).
  • -f files outside the current directory are not mounted into the sandbox; user tools in ~/.mi/tools are not available inside it.