11 writes to Type
Aspire.Dashboard (9)
Model\GenAI\GenAIMessages.cs (9)
38Type = TextType; 51Type = ToolCallType; 66Type = ToolCallResponseType; 80Type = BlobType; 95Type = FileType; 110Type = UriType; 125Type = ReasoningType; 138Type = ServerToolCallType; 153Type = ServerToolCallResponseType;
Aspire.Dashboard.Tests (2)
Model\GenAIItemPartViewModelTests.cs (2)
156Type = "custom", 176Type = "text",
13 references to Type
Aspire.Dashboard (3)
Model\GenAI\GenAIItemViewModel.cs (3)
40if (ItemParts.Any(p => p.MessagePart?.Type is MessagePart.ToolCallType or MessagePart.ServerToolCallType)) 49if (ItemParts.Any(p => p.MessagePart?.Type is MessagePart.ToolCallType or MessagePart.ServerToolCallType)) 53if (ItemParts.Any(p => p.MessagePart?.Type is MessagePart.ToolCallResponseType or MessagePart.ServerToolCallResponseType))
Aspire.Dashboard.Tests (10)
Model\GenAIMessageParsingHelperTests.cs (10)
134Assert.Equal("tool_call", toolCallPart.Type); 184Assert.Equal("blob", blobPart.Type); 199Assert.Equal("file", filePart.Type); 214Assert.Equal("uri", uriPart.Type); 229Assert.Equal("reasoning", reasoningPart.Type); 242Assert.Equal("server_tool_call", serverToolCallPart.Type); 258Assert.Equal("server_tool_call_response", serverToolCallResponsePart.Type); 275Assert.Equal("custom_widget", richGeneric.Type); 282Assert.Equal("unknown", bareGeneric.Type); 352Assert.Equal("text", errorPart.Type);