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.Translation;
@@ -28,7 +29,9 @@ public partial class AssistantTranslation : AssistantBaseCore
protected override string SubmitText => "Translate";
protected override Func<Task> SubmitAction => () => this.TranslateText(true);
protected override SettingsPanel SettingsPanel => SettingsPanel.ASSISTANT_TRANSLATION_PANEL;
protected override bool SubmitDisabled => this.isAgentRunning;
protected override ChatThread ConvertToChatThread => (this.chatThread ?? new()) with