Skip to content

Commit 8f33558

Browse files
committed
Update ModelSelectionWidgetFactory.kt
1 parent afb8c48 commit 8f33558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/kotlin/com/github/simiacryptus/aicoder/ui/ModelSelectionWidgetFactory.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ class ModelSelectionWidgetFactory : StatusBarWidgetFactory {
6969
hasFocus: Boolean
7070
) {
7171
text = value // Here you can add more customization if needed
72+
if (value != null) {
73+
val model = models.find { it.modelName == value }
74+
text = "${model?.provider?.name} - $value"
75+
}
7276
}
7377
}
7478

0 commit comments

Comments
 (0)