Skip to content

Commit ce24391

Browse files
Fixed resetting profiles and chat templates on assistant reset (#556)
1 parent fc37882 commit ce24391

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/MindWork AI Studio/Assistants/AssistantBase.razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ private async Task InnerResetForm()
354354

355355
this.ResetForm();
356356
this.providerSettings = this.SettingsManager.GetPreselectedProvider(this.Component);
357+
this.currentProfile = this.SettingsManager.GetPreselectedProfile(this.Component);
358+
this.currentChatTemplate = this.SettingsManager.GetPreselectedChatTemplate(this.Component);
357359

358360
this.inputIsValid = false;
359361
this.inputIssues = [];

app/MindWork AI Studio/wwwroot/changelog/v0.9.51.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
- Fixed another bug in the web content reader: the system incorrectly evaluated whether the content cleaning agent was preselected. Users had to first deactivate the agent and then reactivate it to make it work correctly.
2323
- Fixed a bug in the assistants for text summarization, translations, and legal check: the web content reader preferences were not being applied when resetting the assistant.
2424
- Fixed the bottom margin of code blocks in chat. The bottom margins were too small. This was particularly problematic when horizontal scrollbars were necessary.
25+
- Fixed a bug in assistants: the selected profile wasn't reset when resetting the assistant.
2526
- Upgraded dependencies.

0 commit comments

Comments
 (0)