feat: add cerebras/zai-glm-4.7 parameters#115
Merged
guillaumegay13 merged 1 commit intoJul 14, 2026
Merged
Conversation
|
@guillaumegay13 is attempting to deploy a commit to the Manifest Team on Vercel. A member of the Team first needs to authorize it. |
1041837 to
d46b4b2
Compare
3702056
into
mnfst:mp/add-openai-gpt-5.6-luna
1 of 2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds parameter coverage for cerebras/zai-glm-4.7 (Cerebras-served GLM-4.7). Addresses #85.
New provider
cerebras(api_key), plus a lobe-icons logo mapping.Parameters (10)
max_completion_tokens,temperature,top_p,frequency_penalty,presence_penalty,seed,stop,reasoning_effort,clear_thinking,response_format.type.Verified against the live Cerebras API
Every parameter was smoke-tested against
POST /v1/chat/completionswithmodel: zai-glm-4.7. Each returned200; an unsupported param liketop_kreturns400, so acceptance is real.reasoning_effortvalues arenone/low/medium/high— confirmed by the API's own validation error: "Input should be 'none', 'low', 'medium' or 'high'" (defaultis rejected, unlike Groq's build of the same knob).clear_thinking(boolean, defaulttrue) is GLM-4.7-specific — controls whether prior-turn thinking is kept in context.Validated locally:
npm run validate,npm test,npm run guard:params,npm run typecheck,npm run buildall pass.