Skip to content

Commit

Permalink
Update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangiReja committed Nov 14, 2024
1 parent c7ed2d8 commit 8cbe0d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public async Task Streaming()

await foreach (StreamingUpdate streamingUpdate in client.CreateRunStreamingAsync(thread.Id, agent.Id))
{
Console.WriteLine(streamingUpdate.UpdateKind);
if (streamingUpdate.UpdateKind == StreamingUpdateReason.RunCreated)
{
Console.WriteLine($"--- Run started! ---");
Expand Down

0 comments on commit 8cbe0d5

Please sign in to comment.