The trace lived in a thread_local, but the SSE read loop is a tokio task that moves between worker threads across await points, so the accumulated text was split across several copies. It reported 139 and 57 streamed characters for replies that the raw frames show as 417 and 266, which made every containment result from it unusable — including the ones the segmentation question depends on. Own it in the stream instead. The raw frame lines were unaffected, so the frame-shape findings still hold; only the per-stream summary was wrong. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| tauri.conf.json | ||