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>
13 lines
225 B
Docker
13 lines
225 B
Docker
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"]
|