Skip to content

Unify z.ai - #66

Merged
kujtimiihoxha merged 1 commit into
mainfrom
unify-z-ai
Sep 19, 2025
Merged

kujtimiihoxha merged 1 commit into
mainfrom
unify-z-ai

Conversation

@kujtimiihoxha

Copy link
Copy Markdown
Contributor

No description provided.

@kujtimiihoxha
kujtimiihoxha requested a review from a team as a code owner September 19, 2025 08:14
@kujtimiihoxha
kujtimiihoxha requested review from aymanbagabas and tauraamui and removed request for a team September 19, 2025 08:14
@kujtimiihoxha
kujtimiihoxha merged commit 9d9a86e into main Sep 19, 2025
@kujtimiihoxha
kujtimiihoxha deleted the unify-z-ai branch September 19, 2025 08:18
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant