Files
codewhale/crates
Punkcan Yang eb1d08b05e fix(tui): address review — turn token, try_lock, static client, lifecycle
- Use static OnceLock<reqwest::Client> to reuse connections
- Use lightweight model (deepseek-v4-flash) for suggestions
- Add AtomicU64 turn token for stale-suggestion protection
- Use try_lock() instead of lock() in main loop
- Clear suggestion on any input change (tracked via prev_input_snapshot)
- Hide suggestion during history search in composer widget

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-05 23:52:35 +08:00
..
2026-06-03 02:39:45 -07:00