Skip to content

Commit

Permalink
fix: use processedSettings in ChatGenerationSettingsSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ghorbani committed Feb 16, 2025
1 parent 7956f2e commit 148e345
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ export const ChatGenerationSettingsSheet = ({
}

if (session) {
chatSessionStore.updateSessionCompletionSettings(settings);
chatSessionStore.updateSessionCompletionSettings(
processedSettings.settings,
);
} else {
chatSessionStore.setNewChatCompletionSettings(settings);
chatSessionStore.setNewChatCompletionSettings(processedSettings.settings);
}
onCloseSheet();
};
Expand Down

0 comments on commit 148e345

Please sign in to comment.