Finished provider settings

This commit is contained in:
tsommer committed 2024-04-20 17:07:12 +02:00
1 parent 7748c6611b
commit c3fd6b81a8
8 files changed
+293 -51

No files matched your search

@@ -0,0 +1,20 @@
using AIStudio.Settings;
using Microsoft.JSInterop;
namespace AIStudio.Provider;
public class NoProvider : IProvider
{
#region Implementation of IProvider
public string Id => "none";
public string InstanceName { get; set; } = "None";
public IAsyncEnumerable<string> GetChatCompletion(IJSRuntime jsRuntime, SettingsManager settings, Model chatModel, Thread chatThread) => throw new NotImplementedException();
public Task<IList<Model>> GetModels(IJSRuntime jsRuntime, SettingsManager settings) => throw new NotImplementedException();
#endregion
}