File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Core/Sources/HostApp/FeatureSettings Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,11 @@ struct ChatSettingsView: View {
5050 if !settings. chatModels
5151 . contains ( where: { $0. id == settings. defaultChatFeatureChatModelId } )
5252 {
53- Text ( settings. chatModels. first? . name ?? " No Model Found " )
54- . tag ( settings. defaultChatFeatureChatModelId)
53+ Text (
54+ ( settings. chatModels. first? . name) . map { " \( $0) (Default) " }
55+ ?? " No Model Found "
56+ )
57+ . tag ( settings. defaultChatFeatureChatModelId)
5558 }
5659
5760 ForEach ( settings. chatModels, id: \. id) { chatModel in
@@ -66,8 +69,11 @@ struct ChatSettingsView: View {
6669 if !settings. embeddingModels
6770 . contains ( where: { $0. id == settings. defaultChatFeatureEmbeddingModelId } )
6871 {
69- Text ( settings. embeddingModels. first? . name ?? " No Model Found " )
70- . tag ( settings. defaultChatFeatureEmbeddingModelId)
72+ Text (
73+ ( settings. embeddingModels. first? . name) . map { " \( $0) (Default) " }
74+ ?? " No Model Found "
75+ )
76+ . tag ( settings. defaultChatFeatureEmbeddingModelId)
7177 }
7278
7379 ForEach ( settings. embeddingModels, id: \. id) { embeddingModel in
You can’t perform that action at this time.
0 commit comments