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:
authored and GitHub committed 2026-09-04 15:48:07 +02:00
1 parent b00c3f9ab3
commit 4d8d30e15e
266 files changed
+11186 -740

No files matched your search

@@ -0,0 +1,19 @@
using AIStudio.Tools.PluginSystem;
namespace AIStudio.Tools.ToolCallingSystem;
public sealed class ToolRuntimeStatus
{
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ToolRuntimeStatus).Namespace, nameof(ToolRuntimeStatus));
public bool IsRunning { get; set; }
public List<string> ToolNames { get; set; } = [];
public string Message => this.ToolNames.Count switch
{
0 => string.Empty,
1 => string.Format(TB("Using tool: {0}"), this.ToolNames[0]),
_ => string.Format(TB("Using tools: {0}"), string.Join(", ", this.ToolNames)),
};
}