# Function calling not working with inference clients on (seemingly) any model

**URL:** <https://discuss.huggingface.co/t/function-calling-not-working-with-inference-clients-on-seemingly-any-model/138581>\
**Category:** Beginners\
**Created:** [February 2, 2025, 3:31pm UTC](https://discuss.huggingface.co/t/function-calling-not-working-with-inference-clients-on-seemingly-any-model/138581 "2025-02-02T15:31:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Alanturner2](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/alanturner2/32/37542_2.png) [@Alanturner2](https://discuss.huggingface.co/u/Alanturner2)\
**Post date:** [February 3, 2025, 7:17am UTC](https://discuss.huggingface.co/t/function-calling-not-working-with-inference-clients-on-seemingly-any-model/138581/4 "2025-02-03T07:17:58Z")

</div>

> [@Remote: Repository not found](https://discuss.huggingface.co/t/remote-repository-not-found/136676/2):
>
> Hey @aqpeeb ! I think you should check your authentication with huggingface. Authenticate with Hugging Face: If authentication is required, make sure you’re logged in to Hugging Face via the CLI: bash CopyEdit huggingface-cli login Enter your token when prompted. If the Space belongs to an organization, ensure you have the proper permissions. And then you should check your huggingface api token has the authorization to use the organization or repository. Hope this help!

---

_[View the full topic](https://discuss.huggingface.co/t/function-calling-not-working-with-inference-clients-on-seemingly-any-model/138581)._
