Skip to content

Comments

Optimize shared chats list to use column projection#163

Merged
Classic298 merged 1 commit intoperf-shared-chatsfrom
claude/fix-shared-chats-list-42kyS
Feb 19, 2026
Merged

Optimize shared chats list to use column projection#163
Classic298 merged 1 commit intoperf-shared-chatsfrom
claude/fix-shared-chats-list-42kyS

Conversation

@Classic298
Copy link
Owner

No description provided.

The GET /chats/shared endpoint was loading full Chat rows including
the entire conversation history JSON blob, only to discard it and
return SharedChatResponse (id, title, share_id, timestamps). Now
uses with_entities() to select only the 5 needed columns, avoiding
deserialization of potentially large chat JSON for every shared chat.

https://claude.ai/code/session_01BnkHiVXVfo4F2n4aujct5F
@Classic298 Classic298 merged commit 503ccea into perf-shared-chats Feb 19, 2026
@Classic298 Classic298 deleted the claude/fix-shared-chats-list-42kyS branch February 19, 2026 18:15
tjbck pushed a commit that referenced this pull request Feb 19, 2026
…i#21614)

The GET /chats/shared endpoint was loading full Chat rows including
the entire conversation history JSON blob, only to discard it and
return SharedChatResponse (id, title, share_id, timestamps). Now
uses with_entities() to select only the 5 needed columns, avoiding
deserialization of potentially large chat JSON for every shared chat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants