Repository navigation
feat(integration): a chat sent to another model starts a new conversation; the server page tests rows, warns while open and confirms a start - #250
Merged
Conversation
…tion; the server page tests rows, warns while open and confirms a start - Chat page: a message sent to another entry (model id, client type, base URL) clears the old session and starts a new one under a divider; the composer hint says so before Enter. A key or extra-headers edit continues the conversation: /api/chat carries a session's history over when it rebuilds the client. - Server page: POST /server/api/test sends one short prompt straight to a row's upstream (the row as typed, $VAR read from the playground's environment) and reports the first token, total, tokens out and TPS, or the upstream's error; Test on a row and Test all, three at a time. - Server page: a banner while the running server has no keys, and a dialog before Start and Apply naming the listen URL, the models and the keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hiyouga
added a commit
that referenced
this pull request
Oct 9, 2026
Folds `changelog/unreleased/` into `changelog/0.5.2/` (#247 MMSP server and `mmsp` client, #248 `google-official`, #249 Claude Haiku 5.5, #250 playground fixes), adds the 0.5.2 line to `CHANGELOG.md` / `CHANGELOG.zh.md`, and versions `mmsp` and `@prismshadow/mmsp` 0.5.2. Verified on vps4: Python 649 passed, 15 skipped; TS 637 passed; build clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Merged
hiyouga
added a commit
that referenced
this pull request
Oct 9, 2026
dev → main for 0.5.2: - An MMSP server and the `mmsp` client (#247). - `google-official` as the official Gemini client's name (#248). - Claude Haiku 5.5 (#249). - Playground fixes (#250). - The fold (#251). The entries are in `changelog/0.5.2/`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four playground fixes the owner asked for before 0.5.2.
/api/clear, starts a new session, and draws a divider: "New conversation with<model>· the messages above are not sent"./api/chatnow carries a session's history over when it rebuilds the client, so no history resets silently.POST /server/api/test.{"model": row}, the row as typed.$VARcells are read from the playground's environment.message_start, before any token, so the first event alone would undercount the wait.<dialog>showing the listen URL, the model count and the keys the saved file holds, plus the open-server warning when there are none.The site docs (
server,tracing) and an unreleased changelog entry are included.Decisions
Test plan (vps4)
ruff checkandruff format --checkclean.tsc --noEmit, prettier and build clean./server/api/test:ok: truewith ~300 TPS. An unset$NOPEgives the unset-variable message,sk-badgives the vendor's 401, andclient_type: nopegives the unknown-client message.Open server:./api/clearwith the old session, draws one divider, and the reply no longer knows the earlier word.🤖 Generated with Claude Code