mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-13 22:33:37 +00:00
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
17 lines
904 B
C#
17 lines
904 B
C#
namespace AIStudio.Tools.ToolCallingSystem.Harness;
|
|
|
|
/// <summary>
|
|
/// One tool call a model requested.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Invalid calls are carried through rather than dropped: the model has to learn that its call
|
|
/// was rejected, otherwise it waits for a result that never arrives.
|
|
/// </remarks>
|
|
/// <param name="CallId">
|
|
/// The ID correlating this call with its result. Empty when the provider did not supply one and
|
|
/// the adapter cannot invent one, which makes the call unanswerable.
|
|
/// </param>
|
|
/// <param name="ToolName">The name of the tool the model asked for.</param>
|
|
/// <param name="ArgumentsJson">The arguments as the model wrote them, to be treated as untrusted input.</param>
|
|
/// <param name="IsValid">Whether name and arguments are usable at all.</param>
|
|
public sealed record ToolCallingRequestedCall(string CallId, string ToolName, string ArgumentsJson, bool IsValid); |