Refactor TUI message formatting: add role label toggle, improve indentation, and adjust role label styling logic. Optimize provider handling.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user