Skip to content

[Inference providers] Root-only base URLs #1266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2025
Merged

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Mar 10, 2025

Related to https://github.com/huggingface-internal/moon-landing/pull/12849 and https://github.com/huggingface-internal/moon-landing/pull/12855 (private repo). Similar PR for Python client huggingface/huggingface_hub#2918.

It is best if all base URLs for inference providers are "root-domain-only" i.e. without subpaths. This PR updates Black Forest Labs and Fireworks AI providers. Novita is taken care of in #1263.

Note that this change requires a server-side update to make things backward compatible (i.e. legacy clients using a subpath are still working). This fix is already handled server-side.

@Wauplin Wauplin merged commit bae2997 into main Mar 10, 2025
5 checks passed
@Wauplin Wauplin deleted the root-only-base-urls branch March 10, 2025 17:58
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.

3 participants