Add tool calling support#731
Open
peerschuett wants to merge 45 commits into
Open
Conversation
…n of local tool calling
…t instead of individual ChatRequests that only differ in 1 or 2 API parameters.
… need to be finetuned and better harnessed.
…optional parameter design. Otherwise the strict schema forbids empty parameters and return BadRequest
…gs from using unsafe providers
…gs. This enables a whitelist because all other private hosts will be blocked
…lExecutionBlockedException
…ublic hosts will be allowed and only high confidence providers are used if request goes to allowed internal hosts
…ction to those validated IPs. Prevents request from re-resolving the host after validation
Nils tool calling v2
# Conflicts: # app/MindWork AI Studio/Assistants/AssistantBase.razor.cs # app/MindWork AI Studio/Assistants/I18N/allTexts.lua # app/MindWork AI Studio/Components/ChatComponent.razor.cs # app/MindWork AI Studio/Plugins/configuration/plugin.lua # app/MindWork AI Studio/Plugins/languages/de-de-43065dbc-78d0-45b7-92be-f14c2926e2dc/plugin.lua # app/MindWork AI Studio/Plugins/languages/en-us-97dfb1ba-50c4-4440-8dfa-6575daf543c8/plugin.lua # app/MindWork AI Studio/Provider/AlibabaCloud/ProviderAlibabaCloud.cs # app/MindWork AI Studio/Provider/BaseProvider.cs # app/MindWork AI Studio/Provider/DeepSeek/ProviderDeepSeek.cs # app/MindWork AI Studio/Provider/Fireworks/ProviderFireworks.cs # app/MindWork AI Studio/Provider/GWDG/ProviderGWDG.cs # app/MindWork AI Studio/Provider/Google/ProviderGoogle.cs # app/MindWork AI Studio/Provider/Groq/ProviderGroq.cs # app/MindWork AI Studio/Provider/Helmholtz/ProviderHelmholtz.cs # app/MindWork AI Studio/Provider/HuggingFace/ProviderHuggingFace.cs # app/MindWork AI Studio/Provider/Mistral/ProviderMistral.cs # app/MindWork AI Studio/Provider/OpenAI/ProviderOpenAI.cs # app/MindWork AI Studio/Provider/OpenAI/ResponsesAPIRequest.cs # app/MindWork AI Studio/Provider/OpenRouter/ProviderOpenRouter.cs # app/MindWork AI Studio/Provider/Perplexity/ProviderPerplexity.cs # app/MindWork AI Studio/Provider/SelfHosted/ProviderSelfHosted.cs # app/MindWork AI Studio/Provider/X/ProviderX.cs # app/MindWork AI Studio/Settings/DataModel/Data.cs # app/MindWork AI Studio/Tools/PluginSystem/PluginConfiguration.cs # app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Loading.cs # app/MindWork AI Studio/wwwroot/changelog/v26.4.1.md
…the Chat Completion / Responses API version
Contributor
Author
|
I think I am at 99% with this PR. Still missing are stress tests for the tool functionality with many/all LLMProviders and different models and the testing of the enterprise config plugin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We want to add tool calling to AI Studio.