[codex] Add BigModel China provider#229
Open
a19q3 wants to merge 1 commit into
Open
Conversation
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
bigmodelOpenAI-compatible provider for Zhipu BigModel mainland China, defaulting toglm-5.1.zaiprovider on its current Z.AI endpoint/default so overseas users are not rerouted.bigmodelthrough login metadata, CLI provider selection, auth source lookup, report/login picker surfaces, and static model fallbacks./modelscatalog is incomplete.Validation
cargo fmtcargo test -p jcode-provider-metadata matrix_login_provider_aliases_resolve_to_canonical_idscargo test -p jcode test_provider_choice_arg_valuescargo test -p jcode test_provider_choice_aliases_parsecargo test -p jcode auth_issue_profile_metadata_matches_direct_provider_endpointscargo test -p jcode test_kimi_coding_header_detection_matches_endpoint_and_modelcargo test -p jcode bigmodel_static_models_remain_visible_when_live_catalog_is_incompletecargo test -p jcode named_builtin_profile_without_env_file_uses_builtin_env_filecargo test -p jcode test_unconfigured_config_default_profile_stays_active_instead_of_using_other_profile_keyLocal smoke checks confirmed
jcode --no-update provider currentresolves toZhipu BigModel / glm-5.1when configured,model list -p bigmodelshowsglm-5.1, and aglm-5.1BigModel request succeeds with saved credentials.