Added initial logic for jumping between assistant and settings. Currently, it only jumps to the settings page and nothing is expanded.

This commit is contained in:
Peer Schütt committed 2025-03-07 19:18:23 +01:00
1 parent 4c1e3afb71
commit bd4c9f7173
47 files changed
+188 -37

No files matched your search

@@ -1,4 +1,5 @@
using AIStudio.Chat;
using AIStudio.Components.Settings;
namespace AIStudio.Assistants.Synonym;
@@ -54,7 +55,9 @@ public partial class AssistantSynonyms : AssistantBaseCore
protected override string SubmitText => "Find synonyms";
protected override Func<Task> SubmitAction => this.FindSynonyms;
protected override SettingsPanel SettingsPanel => SettingsPanel.ASSISTANT_SYNONYMS_PANEL;
protected override ChatThread ConvertToChatThread => (this.chatThread ?? new()) with
{
SystemPrompt = SystemPrompts.DEFAULT,