mirror of
https://github.com/karpathy/nanochat.git
synced 2026-06-02 13:08:11 +00:00
Frontend store was reading `data.conversations` and camelCase timestamps,
but chat-api returns `{items: [...]}` with snake_case `created_at`/`updated_at`.
Result: conversation history always rendered as empty after login.
Read `data.items` and snake_case timestamps in fetchConversations,
fetchMessages, and createConversation.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| chatStore.ts | ||