ollama/cmd/launch
Daniel Hiltgen 05747b02ab
launch: fix opencode local model limits (#16425)
Local model metadata from /api/tags can include a context length without a max output limit, so omit OpenCode limit stanzas unless an output limit is known.

This preserves the pre-0.30 OpenCode behavior: local models did not receive a limit stanza because /api/tags did not expose context length, while cloud models still emit complete context/output limits.

Fixes #16424
2026-06-02 10:50:35 -07:00
..
account.go launch: add plan-aware model gating (#16027) 2026-05-06 14:34:26 -07:00
claude.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
claude_desktop.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
claude_desktop_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
claude_test.go launch: add compact window for claude code (#14823) 2026-03-13 12:09:23 -07:00
cline.go feat(launch): show and auto-install Cline CLI (#16402) 2026-06-01 19:04:08 -04:00
cline_test.go feat(launch): show and auto-install Cline CLI (#16402) 2026-06-01 19:04:08 -04:00
codex.go launch: migrate Codex config (#16397) 2026-06-01 13:46:41 -07:00
codex_app.go launch: avoid legacy Codex App profiles (#16364) 2026-06-01 11:49:56 -07:00
codex_app_test.go launch: avoid legacy Codex App profiles (#16364) 2026-06-01 11:49:56 -07:00
codex_test.go launch: migrate Codex config (#16397) 2026-06-01 13:46:41 -07:00
command_test.go launch: disable Claude Desktop launch (#16028) 2026-05-07 10:46:18 -07:00
copilot.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
copilot_test.go cmd/launch: add Copilot CLI integration (#15583) 2026-04-15 17:22:53 -07:00
droid.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
droid_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
hermes.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
hermes_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
integrations_test.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
kimi.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
kimi_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
launch.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
launch_test.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
model_inventory.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
model_inventory_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
models.go runner: Remove CGO engines, use llama-server exclusively for GGML models (#16031) 2026-05-29 13:35:47 -07:00
models_test.go Reduce startup model hydration (#16215) 2026-05-19 15:53:08 -07:00
openclaw.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
openclaw_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
opencode.go launch: fix opencode local model limits (#16425) 2026-06-02 10:50:35 -07:00
opencode_test.go launch: fix opencode local model limits (#16425) 2026-06-02 10:50:35 -07:00
pi.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
pi_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
poolside.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
poolside_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
qwen.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
qwen_test.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
registry.go cmd/launch: add Qwen code integration (#15900) 2026-06-01 19:51:32 -04:00
registry_test_helpers_test.go
runner_exec_only_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
selector_hooks.go launch: add plan-aware model gating (#16027) 2026-05-06 14:34:26 -07:00
selector_test.go launch: add openclaw channels setup (#15407) 2026-04-08 13:25:27 -07:00
test_config_helpers_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
vscode.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00
vscode_test.go launch: enriched model inventory (#16230) 2026-05-21 11:57:20 -07:00