12 references to ResponseOutputItemDone
Microsoft.Extensions.AI (1)
Realtime\FunctionInvokingRealtimeClientSession.cs (1)
163
if (message is ResponseOutputItemRealtimeServerMessage responseOutputItemMessage && responseOutputItemMessage.Type == RealtimeServerMessageType.
ResponseOutputItemDone
)
Microsoft.Extensions.AI.Abstractions (4)
Realtime\RealtimeServerMessageType.cs (1)
33
/// <item><see cref="
ResponseOutputItemDone
"/> — when an individual output item has completed. This is required for function invocation middleware to detect and invoke tool calls.</item>
Realtime\ResponseOutputItemRealtimeServerMessage.cs (3)
14
/// Used with the <see cref="RealtimeServerMessageType.
ResponseOutputItemDone
"/> and <see cref="RealtimeServerMessageType.ResponseOutputItemAdded"/> messages.
17
/// Provider implementations should emit this message with <see cref="RealtimeServerMessageType.
ResponseOutputItemDone
"/>
30
/// The <paramref name="type"/> should be <see cref="RealtimeServerMessageType.
ResponseOutputItemDone
"/> or <see cref="RealtimeServerMessageType.ResponseOutputItemAdded"/>.
Microsoft.Extensions.AI.Abstractions.Tests (3)
Realtime\RealtimeServerMessageTests.cs (3)
230
var message = new ResponseOutputItemRealtimeServerMessage(RealtimeServerMessageType.
ResponseOutputItemDone
);
232
Assert.Equal(RealtimeServerMessageType.
ResponseOutputItemDone
, message.Type);
250
var message = new ResponseOutputItemRealtimeServerMessage(RealtimeServerMessageType.
ResponseOutputItemDone
)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIRealtimeClientSession.cs (1)
758
Sdk.RealtimeServerUpdateResponseOutputItemDone e => MapResponseOutputItem(e.EventId, e.ResponseId, e.OutputIndex, e.Item, RealtimeServerMessageType.
ResponseOutputItemDone
, e),
Microsoft.Extensions.AI.Tests (3)
Realtime\FunctionInvokingRealtimeClientTests.cs (2)
485
var combinedMessage = new ResponseOutputItemRealtimeServerMessage(RealtimeServerMessageType.
ResponseOutputItemDone
)
644
return new ResponseOutputItemRealtimeServerMessage(RealtimeServerMessageType.
ResponseOutputItemDone
)
Realtime\OpenTelemetryRealtimeClientTests.cs (1)
604
yield return new ResponseOutputItemRealtimeServerMessage(RealtimeServerMessageType.
ResponseOutputItemDone
)