You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check a play's Edit chat on a hosted OpenAI-compatible model #3750
A play's Edit chat was verified on the built-in model only (#3738, PR #3747). The same first reply has never been sent through a hosted OpenAI-compatible model, so it is unknown whether the chat behaves there: whether the opening message's options, the pinned play and the Play Authoring skill reach a hosted model's turn the way they reach the built-in one.
The specific risk is message order. An Edit chat's first message is the assistant's (the opening message that describes the play), and only the built-in model has been shown to accept a conversation that starts that way. A hosted API may reject it.
This was an acceptance criterion of #3738 that could not be run: no endpoint or key was available.
What to do
With a hosted OpenAI-compatible provider configured (endpoint, model, key):
Open a play's Edit chat on that provider and model.
Send one first reply that asks for a change (for example "Change when it runs"), and one that asks a question ("Explain this play").
Record on this issue, for each: the routing decision, the skills and tools offered, the tool calls made, and the reply.
Acceptance criteria
One change request and one question, each sent as the first reply in a play's Edit chat through a hosted OpenAI-compatible model, with the result recorded here: accepted, or rejected for message order (a free-tier model is enough)
The change request reaches the Play Authoring skill with the pinned play, and is not answered with a clarification that asks which play
The question is answered from the play's rules and writes nothing
Anything that differs from the built-in model's behaviour is either fixed or filed
scripts/aichat.ts send <chat-id> "<message>" drives a turn and prints the routing decision and the tools offered; the Edit chat is created by the play viewer's Edit button (or the dev proxy's POST /api/agent/play-edit-chat with provider and model).
Handed to Michael (decision by mstomar125, 2026-11-17): nobody on the Mac side has a hosted endpoint or key, so this needs someone who does. Steps, in order:
Get any OpenAI-compatible endpoint, model name and API key. A free-tier model is enough for the acceptance criteria.
In the app, add it as a provider in AI chat settings (endpoint, model, key). Do not paste the key into this issue.
Open any play and click Edit to create its Edit chat on that provider and model.
First reply 1: "Change when it runs". Record the routing decision, the skills and tools offered, the tool calls and the reply.
In a fresh Edit chat, first reply 2: "Explain this play". Record the same four things. It must write nothing.
If the provider rejects the conversation because the first message is the assistant's, record the exact error: that is the message-order risk, and it becomes a fix.
Checked on 2026-11-27 with a hosted OpenAI-compatible model (Gemma 4 through OpenRouter, released v0.3.14 daemon, isolated home). Both first replies of a play's Edit chat were accepted, with no message-order rejection: the change request reached the Play Authoring skill with the pinned play and did not ask which play; the question was answered from the play's rules and wrote nothing. Results are in the NodeSpace item. Closing.
Activity
mstomar125 commentedon Nov 17, 2026
Handed to Michael (decision by mstomar125, 2026-11-17): nobody on the Mac side has a hosted endpoint or key, so this needs someone who does. Steps, in order:
The built-in model's results to compare against are in PR A play's Edit chat describes the play first, and a reply is routed with the message it answers (closes #3738) #3747's description.
mstomar125 commentedon Nov 25, 2026
Decision (owner, 2026-11-25): assigned to Michael: it needs a hosted OpenAI-compatible endpoint and key.
mstomar125 commentedon Nov 27, 2026
Checked on 2026-11-27 with a hosted OpenAI-compatible model (Gemma 4 through OpenRouter, released v0.3.14 daemon, isolated home). Both first replies of a play's Edit chat were accepted, with no message-order rejection: the change request reached the Play Authoring skill with the pinned play and did not ask which play; the question was answered from the play's rules and wrote nothing. Results are in the NodeSpace item. Closing.