print! already locks stdout per call, so the manual lock()/write!() was extra ceremony over what the flush actually needed. Matches rig's own cli_chatbot streaming example more closely. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||