mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:47:21 +00:00
Adopted further C# 14 and .NET 10 features (#1158)
This commit is contained in:
1 parent
f649febf88
commit
f0fa1411c8
40 files changed
+545
-56
No files matched your search
@@ -575,7 +575,7 @@ public partial class EmbeddingProviderDialog : MSGComponentBase, ISecretId
|
||||
this.dataLoadingModelsIssue = result.FailureReason.ToUserMessage(provider.InstanceName);
|
||||
|
||||
// Order descending by ID means that the newest models probably come first:
|
||||
var orderedModels = result.Models.OrderByDescending(n => n.Id);
|
||||
var orderedModels = result.Models.OrderByDescending(n => n.Id, Model.ID_ORDER);
|
||||
|
||||
this.availableModels.Clear();
|
||||
this.availableModels.AddRange(orderedModels);
|
||||
|
||||
Reference in new issue
Block a user