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 — Cerebras requests send both max_tokens and max_completion_tokens · Issue #43716 · anomalyco/opencode Closed DescriptionDescriptionWhen a Cerebras model is called with max_completion_tokens in provider options, OpenCode also synthesizes max_tokens from maxOutputTokens. The outgoing request contains both fields, and the Cerebras API rejects the request. Expected behaviorWhen the canonical max_completion_tokens field is explicitly supplied for the native Cerebras provider, OpenCode should omit the synthesized max_tokens alias. Requests that do not supply the canonical field should retain the current maxOutputTokens behavior. Reproduction
The same behavior occurs in both the experimental native-provider path and the normal AI SDK path. ActivityMetadataMetadataAssigneesLabelsNo 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. |