Included a settings icon to every assistant that lets you edit the settings (#327)

This commit is contained in:
Peer Schütt authored and GitHub committed 2025-03-12 11:31:01 +01:00
1 parent 8a23b54e56
commit 200964422d
98 files changed
+685 -411

No files matched your search

@@ -1,4 +1,5 @@
using AIStudio.Assistants;
using AIStudio.Dialogs.Settings;
namespace AIStudio.Tools;
@@ -6,7 +7,7 @@ public static class JsRuntimeExtensions
{
public static async Task GenerateAndShowDiff(this IJSRuntime jsRuntime, string text1, string text2)
{
await jsRuntime.InvokeVoidAsync("generateDiff", text1, text2, AssistantBase.RESULT_DIV_ID, AssistantBase.BEFORE_RESULT_DIV_ID);
await jsRuntime.InvokeVoidAsync("generateDiff", text1, text2, AssistantBase<NoComponent>.RESULT_DIV_ID, AssistantBase<NoComponent>.BEFORE_RESULT_DIV_ID);
}
public static async Task ClearDiv(this IJSRuntime jsRuntime, string divId)