- Replace `let _ = app.emit(...)` with logged warnings so dropped chat-done/chat-token events surface in logs instead of silently hanging the frontend
- Switch streaming buffer from String to Vec<u8> so multi-byte UTF-8 sequences split across TCP chunks are accumulated correctly before converting to str
- Use `.context("stream read error")` (anyhow) instead of manual anyhow::anyhow! for the chunk read error path
- Rename test parse_empty_token_is_handled -> parse_empty_content_chunk_deserializes (more precise)
- Add malformed_json_fails_to_parse test
|
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| patterns | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| tauri.conf.json | ||