mirror of
https://github.com/ollama/ollama.git
synced 2026-07-05 15:27:25 +00: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 |
||
|---|---|---|
| .. | ||
| bench | ||
| config | ||
| internal/fileutil | ||
| launch | ||
| runner | ||
| tui | ||
| background_unix.go | ||
| background_windows.go | ||
| cmd.go | ||
| cmd_launcher_test.go | ||
| cmd_test.go | ||
| editor_unix.go | ||
| editor_windows.go | ||
| interactive.go | ||
| interactive_test.go | ||
| start.go | ||
| start_darwin.go | ||
| start_default.go | ||
| start_windows.go | ||
| warn_thinking_test.go | ||