To debug issues with MiMo Code, start by checking the logs and local data it stores on disk.
Log files are written to:
~/.local/share/mimocode/log/WIN+R and paste %USERPROFILE%\.local\share\mimocode\logLog files are named with timestamps (e.g., 2025-01-09T123456.log) and the most recent 10 log files are kept.
You can set the log level with the --log-level command-line option to get more detailed debug information. For example, mimo --log-level DEBUG.
mimocode stores session data and other application data on disk at:
~/.local/share/mimocode/WIN+R and paste %USERPROFILE%\.local\share\mimocodeThis directory contains:
auth.json - Authentication data like API keys, OAuth tokenslog/ - Application logsproject/ - Project-specific data like session and message data
./<project-slug>/storage/./global/storage/If you're experiencing issues with MiMo Code:
Report issues on GitHub
The best way to report bugs or request features is through our GitHub repository:
github.com/mimocode/mimocode/issues
Before creating a new issue, search existing issues to see if your problem has already been reported.
Here are some common issues and how to resolve them.
--print-logs to see output in the terminalmimo upgrade/connect command in the TUIIf you encounter ProviderModelNotFoundError you are most likely incorrectly
referencing a model somewhere.
Models should be referenced like so: <providerId>/<modelId>
Examples:
mimo/mimo-v2.5-proopenai/gpt-4.1openrouter/google/gemini-2.5-flashmimocode/kimi-k2To figure out what models you have access to, run mimo models
If you encounter a ProviderInitError, you likely have an invalid or corrupted configuration.
To resolve this:
First, verify your provider is set up correctly by following the providers guide
If the issue persists, try clearing your stored configuration:
On Windows, press WIN+R and delete: %USERPROFILE%\.local\share\mimocode
Re-authenticate with your provider using the /connect command in the TUI.
If you encounter API call errors, this may be due to outdated provider packages. mimocode dynamically installs provider packages (OpenAI, Anthropic, Google, etc.) as needed and caches them locally.
To resolve provider package issues:
Clear the provider package cache:
On Windows, press WIN+R and delete: %USERPROFILE%\.cache\mimocode
Restart mimocode to reinstall the latest provider packages
This will force mimocode to download the most recent versions of provider packages, which often resolves compatibility issues with model parameters and API changes.
Linux users need to have one of the following clipboard utilities installed for copy/paste functionality to work:
For X11 systems:
For Wayland systems:
For headless environments:
mimocode will detect if you're using Wayland and prefer wl-clipboard, otherwise it will try to find clipboard tools in order of: xclip and xsel.