feat(ollama): add explicit Ollama mode config, cloud endpoint storage, and scope‑availability caching with status annotations.

This commit is contained in:
2025-10-15 10:05:34 +02:00
parent 5210e196f2
commit 708c626176
9 changed files with 1845 additions and 241 deletions

View File

@@ -102,7 +102,23 @@ const COMMANDS: &[CommandSpec] = &[
},
CommandSpec {
keyword: "provider",
description: "Switch active provider",
description: "Switch provider or set its mode",
},
CommandSpec {
keyword: "cloud setup",
description: "Configure Ollama Cloud credentials",
},
CommandSpec {
keyword: "cloud status",
description: "Check Ollama Cloud connectivity",
},
CommandSpec {
keyword: "cloud models",
description: "List models available in Ollama Cloud",
},
CommandSpec {
keyword: "cloud logout",
description: "Remove stored Ollama Cloud credentials",
},
CommandSpec {
keyword: "model info",
@@ -124,6 +140,14 @@ const COMMANDS: &[CommandSpec] = &[
keyword: "models info",
description: "Prefetch detailed information for all models",
},
CommandSpec {
keyword: "models --local",
description: "Open model picker focused on local models",
},
CommandSpec {
keyword: "models --cloud",
description: "Open model picker focused on cloud models",
},
CommandSpec {
keyword: "new",
description: "Start a new conversation",