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 — [BUG]: Custom openai-compatible provider model limit overrides ignored for context percentage display · Issue #29555 · anomalyco/opencode Closed DescriptionDescriptionUser-configured Config: {
"provider": {
"custom": {
"npm": "@ai-sdk/openai-compatible",
"name": "custom (llama-server)",
"options": {
"baseURL": "http://<local-host>/llama-3/v1"
},
"models": {
"qwen3.6-27b": {
"name": "Qwen3.6 27B",
"limit": { "context": 128000, "output": 65536 }
}
}
}
}
}Expected: With ~95K tokens used and Actual: The UI shows "95.1K / 47%". The percentage implies a context of ~202K (95.1K / 0.47 ≈ 202K), which is not what's configured. This suggests the context limit is being resolved from the models.dev database or the llama-server's OpenCode version1.15.11 Steps to reproduce
Operating SystemLinux TerminalAlacritty Related issues
Note: This issue was filed by an AI assistant (Qwen3.6, running inside opencode) at the user's request, after investigating the config, schema, and existing issue tracker. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |