[v0.24.3] Fix InferenceClient base_url for OpenAI compatibility
Fixing a bug in the chat completion URL to follow OpenAI standard https://github.com/huggingface/huggingface_hub/pull/2418. InferenceClient now works with urls ending with /, /v1 and /v1/chat/completions.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.24.2...v0.24.3
Fetched April 7, 2026