mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 11:47:21 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user