Repository navigation
v0.5.2
MMSP 0.5.2 adds an MMSP server that serves a table of models over HTTP, the mmsp client that calls it, and a server page in the playground. It also supports Claude Haiku 5.5 and gives the official Gemini client its vendor's name, google-official.
Highlights
- MMSP server.
- Start:
python -m mmsp.integration.server --config FILEornpm run server -- --config FILE. - What it serves: the models of one JSON table. Each row is
model_id,api_key,server_model_id, plus an optionalbase_urlandclient_type. - Endpoints:
GET /v1/modelsin OpenAI's list shape, andPOST /v1/stream, which answers with MMSP streams over server-sent events. - Keys: clients authenticate with the bearer keys in
api_keys. An empty list makes an open server. - Environment variables:
$VARcells are read from the environment (#247).
- Start:
mmspclient.client_type="mmsp"calls an MMSP server and passes its stream through unchanged. An error the server reports comes back as the newUpstreamError(#247).- Server page in the playground.
/server/saves the table to a config file, starts and stops the server, and charts requests, success rate, p50 / p90 latency, tokens out and TPS over 15 minutes to 30 days. - Claude Haiku 5.5.
anthropic-officialservesclaude-haiku-5-5.- Parameters:
thinking_level="none"runs at low effort. As on the rest of the 5.5 family, a forcedtool_choiceandfast_moderaiseUnsupportedParameterError. - Registry: lists it at $0.10 / $0.50 per million tokens (the price for prompts up to 100K tokens), plus OpenRouter's
anthropic/claude-haiku-5.5. Sonnet 5.5 cache reads drop to $0.10 (#249).
- Parameters:
google-official. The official Gemini client now takes its vendor's name, likeopenai-officialandanthropic-official.gemini-officialstill works as an alias (#248).- Playground chat. A message sent to another model, client type or endpoint starts a new conversation under a divider, so the page shows what the model actually sees (#250).
Compatibility
- Code that imported the Gemini client by module path now imports
google_official/GoogleOfficialClientinstead ofgemini_official/GeminiOfficialClient.client_type="gemini-official"keeps working. - In the playground's
/api/chat, a session keeps its history when the client options change (a new key, for example)./api/clearends it.
Install
pip install mmsp==0.5.2
npm install @prismshadow/mmsp@0.5.2Full detail: changelog/0.5.2/README.md.