This commit is contained in:
Thorsten Sommer 2024-06-03 19:43:13 +02:00
parent 9d70103b72
commit 97f0974cf7
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -225,7 +225,7 @@ public partial class ProviderDialog : ComponentBase
if(provider is NoProvider) if(provider is NoProvider)
return; return;
var models = await provider.GetTextModels(this.JsRuntime, this.SettingsManager); var models = await provider.GetTextModels(this.JsRuntime, this.SettingsManager, this.dataAPIKey);
// Order descending by ID means that the newest models probably come first: // Order descending by ID means that the newest models probably come first:
var orderedModels = models.OrderByDescending(n => n.Id); var orderedModels = models.OrderByDescending(n => n.Id);