ollama/cmd
Michael Verrilli 0c65ed33bc
cmd: populate model capabilities in launchInteractiveModel (#15712)
launchInteractiveModel was introduced in PR #14609 without the
client.Show() capability-detection block that RunHandler uses.
This left opts.MultiModal always false in the TUI path, causing
image/audio file paths to always be treated as unknown commands
instead of being loaded as multimodal attachments.

Mirror the Show() call, pull-on-404 fallback, cloud auth handling,
and MultiModal/Think population from RunHandler into
launchInteractiveModel.

Fixes #15711
2026-04-21 14:37:36 -04:00
..
bench Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00
config cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
internal/fileutil cmd: refactor tui and launch (#14609) 2026-03-12 18:39:06 -07:00
launch launch: add kimi cli integration with installer flow (#15723) 2026-04-20 15:33:32 -07:00
runner Runner for Ollama engine 2025-02-13 17:09:26 -08:00
tui launch: add hermes (#15569) 2026-04-15 12:00:23 -07:00
background_unix.go cmd: ollama menu and launch improvements (#14038) 2026-02-09 11:30:16 -08:00
background_windows.go cmd: ollama menu and launch improvements (#14038) 2026-02-09 11:30:16 -08:00
cmd.go cmd: populate model capabilities in launchInteractiveModel (#15712) 2026-04-21 14:37:36 -04:00
cmd_launcher_test.go cmd: ollama launch vscode (#15060) 2026-03-25 16:37:02 -04:00
cmd_test.go modelfiles: fix /save command and add shortname for safetensors based models (#15413) 2026-04-08 21:05:39 -07:00
editor_unix.go feature: add ctrl-g to allow users to use an editor to edit their prompt (#14197) 2026-02-11 13:04:41 -08:00
editor_windows.go feature: add ctrl-g to allow users to use an editor to edit their prompt (#14197) 2026-02-11 13:04:41 -08:00
interactive.go modelfiles: fix /save command and add shortname for safetensors based models (#15413) 2026-04-08 21:05:39 -07:00
interactive_test.go Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00
start.go nolintlint 2024-06-04 11:13:30 -07:00
start_darwin.go cmd: ollama launch improvements (#14099) 2026-02-05 15:08:17 -08:00
start_default.go lint 2024-08-01 17:06:06 -07:00
start_windows.go spawn desktop quickly (#11011) 2025-06-08 09:34:52 -07:00
warn_thinking_test.go add thinking support to the api and cli (#10584) 2025-05-28 19:38:52 -07:00