fix support for chat branching with source tracking

This commit is contained in:
2026-09-08 23:09:27 +02:00
parent c0e3a6b693
commit 6e59b72dca
5 changed files with 45 additions and 13 deletions
+1
View File
@@ -396,6 +396,7 @@ export function createChatService(repositories, modelService, config) {
);
try {
repositories.updateChatBranchSource(clonedChat.id, user, sourceChat.id, messageId);
repositories.updateChatGenerationSettings(clonedChat.id, user, {
preferredModel: sourceChat.preferred_model ?? null,
temperature: sourceChat.temperature ?? null,