Refactor TUI message formatting: add role label toggle, improve indentation, and adjust role label styling logic. Optimize provider handling.

This commit is contained in:
2025-09-27 07:11:57 +02:00
parent 306104c5b4
commit 6ddc66d864
3 changed files with 24 additions and 13 deletions

View File

@@ -154,7 +154,7 @@ impl ChatApp {
self.models = all_models;
// Populate available_providers
let mut providers = self
let providers = self
.models
.iter()
.map(|m| m.provider.clone())
@@ -410,7 +410,7 @@ impl ChatApp {
self.models = all_models;
// Populate available_providers
let mut providers = self
let providers = self
.models
.iter()
.map(|m| m.provider.clone())