2 writes to Parts
Microsoft.Extensions.AI (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.RealtimeOtelMessage.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)obj).Parts = value!,
Realtime\OpenTelemetryRealtimeClientSession.cs (1)
374Parts = { new OtelGenericPart { Type = "audio_commit" } },
26 references to Parts
Microsoft.Extensions.AI (26)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.RealtimeOtelMessage.g.cs (2)
78Getter = static obj => ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)obj).Parts, 113global::System.Collections.Generic.List<object> __value_Parts = ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)value).Parts;
Realtime\OpenTelemetryRealtimeClientSession.cs (24)
361audioMessage.Parts.Add(new OtelBlobPart 383responseMessage.Parts.Add(new OtelGenericPart 398foreach (var part in itemMessage.Parts) 400responseMessage.Parts.Add(part); 406return responseMessage.Parts.Count > 0 ? responseMessage : null; 448textAudioOtelMessage.Parts.Add(new OtelGenericPart 457transcriptionOtelMessage.Parts.Add(new OtelGenericPart 466errorOtelMessage.Parts.Add(new OtelGenericPart 483foreach (var part in itemMessage.Parts) 485responseOtelMessage.Parts.Add(part); 490return responseOtelMessage.Parts.Count > 0 ? responseOtelMessage : null; 531message.Parts.Add(new OtelGenericPart { Content = tc.Text }); 535message.Parts.Add(new OtelGenericPart { Type = "reasoning", Content = trc.Text }); 540message.Parts.Add(new RealtimeOtelToolCallPart 549message.Parts.Add(new OtelToolCallResponsePart 558message.Parts.Add(new OtelBlobPart 568message.Parts.Add(new OtelUriPart 578message.Parts.Add(new OtelFilePart 588message.Parts.Add(new OtelGenericPart { Type = "vector_store", Content = vsc.VectorStoreId }); 592message.Parts.Add(new OtelGenericPart { Type = "error", Content = ec.Message }); 597message.Parts.Add(new OtelServerToolCallPart<OtelMcpToolCall> 610message.Parts.Add(new OtelServerToolCallResponsePart<OtelMcpToolCallResponse> 647message.Parts.Add(new OtelGenericPart 658return message.Parts.Count > 0 ? message : null;