mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 02:13:48 +00:00
Added tool calling support (#731)
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
266 files changed
+11186
-740
No files matched your search
@@ -101,7 +101,7 @@ public sealed partial class PluginInstallService
|
||||
// The plugin is not installed yet: it sits in a staging directory outside the installed
|
||||
// plugins directory. We allow that directory as the module base, so the plugin can load its
|
||||
// own Lua modules, e.g., an icon.lua, while we validate it:
|
||||
var plugin = await PluginFactory.Load(pluginDirectory, pluginCode, token, pluginDirectory);
|
||||
var plugin = await PluginFactory.Load(pluginDirectory, pluginCode, pluginDirectory, token);
|
||||
if (!acceptedTypes.Contains(plugin.Type))
|
||||
return PluginValidationResult.Failure(string.Format(wrongTypeIssue, string.Join("; ", plugin.Issues)));
|
||||
|
||||
|
||||
Reference in new issue
Block a user