Repository navigation
Unify z.ai - #66
Merged
Merged
Unify z.ai#66
Conversation
kujtimiihoxha
requested review from
aymanbagabas and
tauraamui
and removed request for
a team
September 19, 2025 08:14
andreynering
pushed a commit
that referenced
this pull request
Sep 9, 2026
catwalk.KnownProviders() in pkg/catwalk/provider.go returned 35 of the 41 providers that embedded.GetAll() actually ships. deepseek, ionet, alibaba-singapore, alibaba-us, coralbricks and scaleway are all in providerRegistry in internal/providers/providers.go with embedded configs, but none of them was listed, so anything using the public API to enumerate known providers missed six of them. The two lists have always been kept in step: atlascloud (#463), moonshot (#325), fireworks (#373) and baseten each added an InferenceProvider constant and a KnownProviders entry in one commit, and the Lambda (#79) and z.ai coding (#66) removals took both away. These six drifted. ionet (#179), alibaba-singapore (#282), alibaba-us (#412) and deepseek (#271) added the constant without the entry, and coralbricks (#502) and scaleway (#309) never got a constant. Declares InferenceProviderCoralBricks and InferenceProviderScaleway, and inserts all six into KnownProviders at the position that mirrors the constant block, so both read in the same order. Adds TestKnownProvidersMatchesRegistry in internal/providers, which fails if the registry and KnownProviders disagree in either direction.
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.
No description provided.