Initial commit: cross-platform MiMo-to-Anthropic local gateway

Adds a FastAPI-based local proxy that remaps Claude model IDs to Xiaomi
MiMo and forwards requests to MiMo's Anthropic-compatible API. Includes
launchers for Windows (start.ps1), macOS/Linux (start.sh), and Docker.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Ilias
2026-07-12 16:39:19 -07:00
co-authored by Claude Sonnet 4.5
commit 733beecaf6
9 changed files with 435 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY mimo_gateway.py .
EXPOSE 8787
CMD ["uvicorn", "mimo_gateway:app", "--host", "0.0.0.0", "--port", "8787"]