Files
deepseek-harness/apps/web/tests/snapshots/max-tokens-notice/history-turn.expected.txt
creatixchu e4ca03cb85 fix(web): surface max-tokens turn ends as a localized truncation notice
A turn the provider ends at its per-request output cap previously produced
no visible sign in the Web chat flow: only error-kind turn/end events built
a conversation node, so the truncated answer read as a normal completion.

Add a turn-max-tokens conversation node Definition over the durable
turn/end event, a warning-styled localized notice row distinct from
turn-error, a fixture max-tokens sample turn, and an assembled keyless
snapshot pinning the dot state, title, and hint.

Closes #1522
2026-08-12 15:36:27 +08:00

3 lines
162 B
Plaintext

dot=warning
title=Output token limit reached
hint=The reply was cut off; earlier output is preserved in the conversation. Send "continue" to let the model resume.