Repository navigation
feat(providers): add GMI Cloud provider preset and partner listing - #1127
Merged
Merged
Conversation
Register GMI Cloud (https://api.gmi-serving.com/v1) as an OpenAI-compatible catalog provider and add it to the README Partners section. - The catalog id `gmicloud` matches the models.dev provider id, so the remote model catalog resolves without a mapping. `gmi-cloud`, `GMI Cloud` and `gmi` resolve to it. - Reads GMI_API_KEY (the name in GMI's docs) and GMICLOUD_API_KEY (the name models.dev uses). - Defaults to Qwen/Qwen3.8-Max. The curated list is Qwen 3.8 Max and Flash (GMI's partner models), then DeepSeek V4 Pro and Flash. All four are served by GMI's /v1/models. - README and README_ZH: key line, setup command, and the partner logo in light and dark variants under docs/assets/. Verified live with a GMI key: `zero providers check gmicloud --connectivity` passes, and `zero exec` completes a read-then-write task on both Qwen 3.8 models.
Contributor
Zero automated PR reviewVerdict: No blockers found Blockers
Validation
ScopeHead: This deterministic review checks validation status and basic diff hygiene. A human reviewer still owns product judgment and design quality. |
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
Adds GMI Cloud (https://www.gmicloud.ai/) as an OpenAI-compatible provider preset and as an official partner in the README. The matching OpenClaude change is Twigpine/openclaude#2279 (merged).
gmicloudathttps://api.gmi-serving.com/v1:zero providers setup gmicloud --set-active;gmi-cloud,GMI Cloudandgmiresolve to the same preset.gmicloud), so the remote model catalog resolves without a mapping.GMI_API_KEY(the name in GMI's docs) andGMICLOUD_API_KEY(the name models.dev uses).Qwen/Qwen3.8-Max. The curated list is Qwen 3.8 Max and Qwen 3.8 Flash (GMI's partner models), then DeepSeek V4 Pro and DeepSeek V4 Flash (GMI's coding picks). All four are on GMI's live/v1/models.README.mdandREADME_ZH.md, with light and dark logos vendored underdocs/assets/.GMI_API_KEYline and the setup command.Small, catalog-only change: one preset line, one curated model list and tests. No transport or request code changes.
Verification
make fmt-check,go vet ./...,go test ./...,go run ./cmd/zero-release build,go run ./cmd/zero-release smoke,make vulncheckandgit diff --checkpass.make lint-staticreports only the 4 pre-existing staticcheck findings in files this PR does not touch.TestGMICloudDescriptor);GMI Cloud,gmi-cloud,gmi);HOME/XDG dirs, branch build):zero providers add gmicloud --api-key-env GMI_API_KEY --set-active, thenzero providers check gmicloud --connectivity:status: ok,connectivity: pass(200) onQwen/Qwen3.8-Max.zero exec --auto mediumon a real read-then-write task (readnotes.txt, write the secret word toanswer.txt, reply DONE):Qwen/Qwen3.8-Max: pass, 19 s;Qwen/Qwen3.8-Flash: pass, 12 s.401 {"error":"Invalid API key"}with a clear next step.Screenshots
Linked issue
None. Team-member provider and partner change through the internal development process.
Checklist
issue-approvedlabel.go build ./...,go vet ./..., andgo test ./...pass locally.gofmtclean.-racewhere relevant).Summary by CodeRabbit