Repository navigation
- fix:
--sandboxpasses your settings into the container —OPENAI_*,MODEL,REASONING_EFFORT,SYSTEM_PROMPTandMI_*from the shell orconfig.json(before, only the API key went in, so a sandboxed mi ignored a localOPENAI_BASE_URLand 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 inps - fix:
--sandboxruns the image of the mi version you run (ghcr.io/av/mi:1.13.0), not a:latestthat docker pulled once and never updated;MI_IMAGEstill overrides - fix: mi starts when installed under a path with spaces,
#or non-ASCII letters (it crashed withENOENT .../mi%20dir/package.json) - fix:
~/.mi/config.jsonaccepts JSON values that are not strings, e.g."MI_API_PARAMS": {"temperature": 0}(it exited withMI_API_PARAMS: invalid JSON) - docs: user tools in
~/.mi/tools/*.mjsare documented (idea from #2 by @screenfluent)
Known limitations
- The first
--sandboxrun after an upgrade pulls that version's image (~270 MB). -ffiles outside the current directory are not mounted into the sandbox; user tools in~/.mi/toolsare not available inside it.