Fixed missed row numbers of providers

This commit is contained in:
tsommer committed 2024-05-19 20:28:25 +02:00
1 parent b485da7aa9
commit 276a33a52e
5 files changed
+25 -3

No files matched your search

+2 -1
View File
@@ -5,11 +5,12 @@ namespace AIStudio.Settings;
/// <summary>
/// Data model for configured providers.
/// </summary>
/// <param name="Num">The provider's number.</param>
/// <param name="Id">The provider's ID.</param>
/// <param name="InstanceName">The provider's instance name. Useful for multiple instances of the same provider, e.g., to distinguish between different OpenAI API keys.</param>
/// <param name="UsedProvider">The provider used.</param>
/// <param name="Model">The LLM model to use for chat.</param>
public readonly record struct Provider(string Id, string InstanceName, Providers UsedProvider, Model Model)
public readonly record struct Provider(uint Num, string Id, string InstanceName, Providers UsedProvider, Model Model)
{
#region Overrides of ValueType