mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-15 12:17:33 +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>
|
||
|---|---|---|
| .. | ||
| auth | ||
| chat-api | ||
| frontend | ||
| inference | ||