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:
2025-10-12 06:38:21 +02:00
parent 38aba1a6bb
commit 15e5c1206b
19 changed files with 1280 additions and 741 deletions

View File

@@ -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,