Skip to content

Commit df4703a

Browse files
committed
rename
1 parent 42926d2 commit df4703a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/inference/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Only a subset of models are supported when requesting third-party providers. You
101101
- [Cerebras supported models](https://huggingface.co/api/partners/cerebras/models)
102102
- [Groq supported models](https://console.groq.com/docs/models)
103103
- [Novita AI supported models](https://huggingface.co/api/partners/novita/models)
104-
- [Z.ai supported models](https://huggingface.co/api/partners/zai/models)
104+
- [Z.ai supported models](https://huggingface.co/api/partners/zai-org/models)
105105

106106
**Important note:** To be compatible, the third-party API must adhere to the "standard" shape API we expect on HF model pages for each pipeline task type.
107107
This is not an issue for LLMs as everyone converged on the OpenAI API anyways, but can be more tricky for other tasks like "text-to-image" or "automatic-speech-recognition" where there exists no standard API. Let us know if any help is needed or if we can make things easier for you!

packages/inference/src/lib/getProviderHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import * as Replicate from "../providers/replicate.js";
5050
import * as Sambanova from "../providers/sambanova.js";
5151
import * as Scaleway from "../providers/scaleway.js";
5252
import * as Together from "../providers/together.js";
53-
import * as Zai from "../providers/zai.js";
53+
import * as Zai from "../providers/zai-org.js";
5454
import type { InferenceProvider, InferenceProviderOrPolicy, InferenceTask } from "../types.js";
5555
import { InferenceClientInputError } from "../errors.js";
5656

packages/inference/src/providers/zai.ts renamed to packages/inference/src/providers/zai-org.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* See the registered mapping of HF model ID => ZAI model ID here:
33
*
4-
* https://huggingface.co/api/partners/zai/models
4+
* https://huggingface.co/api/partners/zai-org/models
55
*
66
* This is a publicly available mapping.
77
*

0 commit comments

Comments
 (0)