Skip to content

Conversation

@andinux
Copy link
Contributor

@andinux andinux commented Nov 20, 2025

No description provided.

…r the same uuid

Updated llm_chat_save to use INSERT ... ON CONFLICT for ai_chat_history, ensuring chat metadata is updated if the uuid exists. Added logic to fetch the correct rowid after upsert and to delete all previous messages for the chat before saving new ones, ensuring message history is consistent.
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