fix: add MiniMax and Z.ai subscription params#31
Merged
Conversation
500e02e to
7cb020a
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7cb020a to
1eca5c1
Compare
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.
Summary
do_sample,response_format.type, sampling applicability).Docs checked
Live smoke
.env.keys; no secrets printed or committed.GET https://api.minimax.io/anthropic/v1/models?limit=100returned all 7 Manifest-known subscription IDs.max_tokens,temperature, andtop_p, but every call failed before model execution with upstreaminsufficient balance (1008).GET https://open.bigmodel.cn/api/coding/paas/v4/modelsreturned all 7 Manifest-known subscription IDs.max_tokens,temperature,top_p, andthinking.type; extra probes fordo_sample+response_format.typeandthinking.clear_thinkingwere also attempted. All completion probes failed before model execution with upstream429/ code1309because the Coding Plan package is expired.Notes
MiniMax-*casing.thinking: the support table saysthinkingis supported, but the later important note saysthinkingis ignored. Because live completion is blocked by account balance, this PR keeps MiniMax to the unambiguous scalar params already supported by the row shape.Validation
npm run validatenpm testnpm run buildnpm run guard:paramsnpm run typechecknpm run lintnpx prettier --checkon touched filesgit diff --checkmax_tokens,temperature,top_p; Z.ai rows exposemax_tokens,do_sample,temperature,top_p,thinking.type,response_format.type.