GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — feat(provider): auto-detect Ollama context limits by felipemadero · Pull Request #10758 · anomalyco/opencode Conversation
|
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found the following potentially related PRs:
These are the closest matches, but none appear to be exact duplicates of PR #10758. You should review PR #3726 and #8359 for any overlap in Ollama auto-detection implementation logic. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When limit.output is 0, fall back to reserving 20% of context (capped at OUTPUT_TOKEN_MAX) instead of hardcoded 32000. This fixes compaction triggering immediately on small context models like 16k Ollama models.
f083bcc to
10aa64b
Compare
b8ed4d9 to
10aa64b
Compare
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Auto-detect Ollama model context limits
There was an error while loading. Please reload this page.