mirror of
https://github.com/ollama/ollama.git
synced 2026-07-31 01:48:44 -04:00
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
7.4 KiB
7.4 KiB