Let the tool calling loop stream what each round produces

This commit is contained in:
Thorsten Sommer committed 2026-09-20 09:21:10 +02:00
1 parent 459165f1be
commit d97a20d7c8
8 files changed
+182 -28

No files matched your search

@@ -0,0 +1,19 @@
namespace AIStudio.Tools.ToolCallingSystem.Harness;
/// <summary>
/// What one event of a streamed tool calling round carries.
/// </summary>
public enum ToolCallingStreamEventKind
{
NONE = 0,
/// <summary>
/// A piece of text the model wrote, to be shown while the round is still running.
/// </summary>
TEXT_DELTA,
/// <summary>
/// The round is over and the event carries its outcome.
/// </summary>
ROUND_COMPLETED,
}