refactor(ollama)!: remove Ollama provider crate and implementation
Deletes the `owlen-ollama` Cargo.toml and source files, fully removing the Ollama provider from the workspace. This aligns the project with the MCP‑only architecture and eliminates direct provider dependencies.
This commit is contained in:
@@ -1390,16 +1390,17 @@ fn render_model_selector(frame: &mut Frame<'_>, app: &ChatApp) {
|
||||
.add_modifier(Modifier::BOLD),
|
||||
))
|
||||
}
|
||||
ModelSelectorItemKind::Model {
|
||||
provider: _,
|
||||
model_index,
|
||||
} => {
|
||||
ModelSelectorItemKind::Model { model_index, .. } => {
|
||||
if let Some(model) = app.model_info_by_index(*model_index) {
|
||||
let tool_indicator = if model.supports_tools { "🔧 " } else { " " };
|
||||
let label = if model.name.is_empty() {
|
||||
format!(" {}{}", tool_indicator, model.id)
|
||||
let mut badges = Vec::new();
|
||||
if model.supports_tools {
|
||||
badges.push("🔧");
|
||||
}
|
||||
|
||||
let label = if badges.is_empty() {
|
||||
format!(" {}", model.id)
|
||||
} else {
|
||||
format!(" {}{} — {}", tool_indicator, model.id, model.name)
|
||||
format!(" {} - {}", model.id, badges.join(" "))
|
||||
};
|
||||
ListItem::new(Span::styled(
|
||||
label,
|
||||
|
||||
Reference in New Issue
Block a user