We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ada511 commit 187745cCopy full SHA for 187745c
src/AI/ToolExtensions.cs
@@ -26,6 +26,12 @@ public static class ToolExtensions
26
public static IEnumerable<ToolCall> FindCalls(this ChatResponse response, AIFunction tool)
27
=> FindCalls(response.Messages, tool.Name);
28
29
+ /// <summary>
30
+ /// Looks for calls to a tool and their outcome.
31
+ /// </summary>
32
+ public static IEnumerable<ToolCall> FindCalls(this ChatResponse response, string tool)
33
+ => FindCalls(response.Messages, tool);
34
+
35
/// <summary>
36
/// Looks for calls to a tool and their outcome.
37
/// </summary>
0 commit comments