Skip to content

Commit 5f9fa0e

Browse files
Update docs/inference-providers/register-as-a-provider.md
Co-authored-by: Julien Chaumond <[email protected]>
1 parent 0e268ef commit 5f9fa0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/inference-providers/register-as-a-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ For text-generation and conversational tasks, you can just inherit from `BaseTex
117117

118118
### Register the provider
119119

120-
Go to [packages/inference/src/lib/getProviderHelper.ts](https://github.com/huggingface/huggingface.js//blob/main/packages/inference/src/lib/getProviderHelper.ts) and add your provider to `PROVIDERS`. You will have to add your provider to the `INFERENCE_PROVIDERS` list as well in [packages/inference/src/types.ts](https://github.com/huggingface/huggingface.js//blob/main/packages/inference/src/types.ts). Please try to respect alphabetical order.
120+
Go to [packages/inference/src/lib/getProviderHelper.ts](https://github.com/huggingface/huggingface.js//blob/main/packages/inference/src/lib/getProviderHelper.ts) and add your provider to `PROVIDERS`. You will need to add your provider to the `INFERENCE_PROVIDERS` list as well in [packages/inference/src/types.ts](https://github.com/huggingface/huggingface.js//blob/main/packages/inference/src/types.ts). Please try to respect alphabetical order.
121121

122122
Update the [README.md](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/README.md) in the `packages/inference` directory to include your provider in the list of supported providers and the list of supported models links.
123123

0 commit comments

Comments
 (0)