mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-29 23:51:38 +00:00
changed settings dialog to point to the empty dynamic settings dialog
This commit is contained in:
parent
8c1ba3a36b
commit
4c92fe8d2c
@ -167,10 +167,11 @@ public partial class AssistantDynamic : AssistantBaseCore<SettingsDialogDynamic>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO
|
|
||||||
protected override bool MightPreselectValues()
|
protected override bool MightPreselectValues()
|
||||||
{
|
{
|
||||||
Console.WriteLine("throw new NotImplementedException();");
|
// Dynamic assistants have arbitrary fields supplied via plugins, so there
|
||||||
|
// isn't a built-in settings section to prefill values. Always return
|
||||||
|
// false to keep the plugin-specified defaults.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
<MudStack Row="@true" Wrap="@Wrap.Wrap" Class="mb-3">
|
<MudStack Row="@true" Wrap="@Wrap.Wrap" Class="mb-3">
|
||||||
@foreach (var assistantPlugin in this.AssistantPlugins)
|
@foreach (var assistantPlugin in this.AssistantPlugins)
|
||||||
{
|
{
|
||||||
<AssistantBlock TSettings="SettingsDialogTranslation"
|
<AssistantBlock TSettings="SettingsDialogDynamic"
|
||||||
Name="@T(assistantPlugin.AssistantTitle)"
|
Name="@T(assistantPlugin.AssistantTitle)"
|
||||||
Description="@T(assistantPlugin.Description)"
|
Description="@T(assistantPlugin.Description)"
|
||||||
Icon="@Icons.Material.Filled.FindInPage"
|
Icon="@Icons.Material.Filled.FindInPage"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user