Tag metadata tokens as {\"__meta\"} to separate TTS from progress messages

stream_response() now yields plain str for actual answer tokens and
{\"__meta\": str} dicts for progress/thinking/source metadata.
Consumers (WebUI, Telegram) can filter __meta tokens for TTS/display.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sal
2026-05-31 23:08:14 +09:00
parent e9a6d00059
commit 67821250fd
3 changed files with 58 additions and 47 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB