mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
A default naming a route the Models page has since removed left the composer saying 选择模型 while the input still accepted a message, which then failed inside the adapter mid-turn. `session.prompt` now refuses with `model-unavailable` before opening a turn. That is the enforcement boundary: the method stays callable no matter what a client disables. `session.models` reports the same fact as `routable`, and ui-model pushes a block through the new `ctx.conversation.blocks` registry so the bar renders the disabled textarea it already renders without a workspace, carrying the blocker's own reason. The push direction is forced — ui-model already depends on ui-conversation, so ui-conversation cannot read it back. The gate is `routable`, not "matches no advertised group": catalog membership is advisory, so a route serving a model it stopped advertising is missing from the groups yet perfectly usable, and `null` before the first load never blocks so a slow Host cannot lock a working composer. The scaffold gains a route-only adapter for fixture-less keyless scenarios. Registering zero providers is a test artifact — every product composition mounts one — and the goldens that froze the seat's fallback label now show the model those scenarios actually route to.
31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
- banner:
|
|
- navigation "Session hierarchy":
|
|
- 'button "Run two shell commands: wait" [disabled]'
|
|
- tablist:
|
|
- tab "Chat" [selected]
|
|
- tab "Trajectory"
|
|
- text: "Run two shell commands: wait for cancellation, then write skipped.txt. {{date}} {{clock}}"
|
|
- button "Copy":
|
|
- img
|
|
- button "Context injection @deepseek-ai/dsh-system-prompt":
|
|
- img
|
|
- img
|
|
- text: Context injection @deepseek-ai/dsh-system-prompt
|
|
- 'button "Failed Bash Error: tool call aborted" [expanded]':
|
|
- img
|
|
- text: "Failed Bash Error: tool call aborted"
|
|
- text: "IN { \"command\": \"node -e \\\"require('node:fs').writeFileSync('started.txt', 'started'); setInterval(() => {}, 1000)\\\"\", \"description\": \"Wait until cancellation\" } OUT Error: tool call aborted"
|
|
- button "Inspect"
|
|
- 'button "Failed Bash Error: tool call aborted before dispatch"':
|
|
- img
|
|
- text: "Failed Bash Error: tool call aborted before dispatch"
|
|
- textbox "Message the agent"
|
|
- button "Commands":
|
|
- img
|
|
- 'button "Access mode, current: Workspace Write"': Workspace Write
|
|
- button "Select model, current DeepSeek-V4-Flash":
|
|
- text: DeepSeek-V4-Flash
|
|
- img
|
|
- button "Send message" [disabled]
|
|
- text: 1 turns · 1 steps LLM {{duration}} · Tool call {{duration}} TTFT avg {{duration}} · {{throughput}} tok/s Cache hit 0% Input 10 tok · Output 10 tok
|