Uh oh!
There was an error while loading. Please reload this page.
Add tool call & some other params support for llms api - #117
Conversation
This PR is targeting If this is a regular feature/fix PR, please change the base branch to Current base: |
There was a problem hiding this comment.
Pull Request Overview
This PR adds tool call support to the LLMs API, enabling function calling capabilities for both Ollama and Hugging Face Hub inference routers.
- Extended the
complete_chatmethod to accept additional parameters via**kwargsincluding tool definitions - Modified return types to support both string responses and full response objects when tools are involved
- Updated both Ollama and Hugging Face Hub implementations to handle tool calls and return appropriate response formats
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Add tool call & some other params support for llms api
Add tool call support for llms api