mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-10-17 05:14:19 +02:00
handleSendMessage awaited createChatSession before the optimistic render, so on a slow request the message the user just sent did not appear at all, with no spinner and nothing to retry. A failed session creation was worse: a bare `return` left no message and no error, so the app looked like it had ignored the user. Render first, and surface a failure the same way a failed response is surfaced. Completes #1211 alongside the stream-abort fix in #1220. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F8Mgg1vd2eKSs8StZiuyMV |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| context | ||
| css | ||
| hooks | ||
| layouts | ||
| lib | ||
| pages | ||
| providers | ||
| tsconfig.json | ||