mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-05-27 14:30:18 +00:00
739c65a4df
Remove run.text accumulator and insertResponseTextOnce that caused text blocks before and after tool calls to be concatenated into a single message. Now response.output_text.done only sets finish_reason without overwriting delta-accumulated content. - Remove run.text, textInserted from ResponseRunState - Remove insertResponseTextOnce method - output_text.done only marks finish_reason='stop' on last message - response.completed no longer calls insertResponseTextOnce - Add 7 tests covering flush, abort, and multi-block text separation Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>