2 writes to ToolCallJsonSerializerOptions
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
44Assert.Throws<ArgumentNullException>("value", () => client.ToolCallJsonSerializerOptions = null!); 47client.ToolCallJsonSerializerOptions = options;
4 references to ToolCallJsonSerializerOptions
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
106var openAIChatMessages = OpenAIModelMappers.ToOpenAIChatMessages(chatMessages, ToolCallJsonSerializerOptions); 121var openAIChatMessages = OpenAIModelMappers.ToOpenAIChatMessages(chatMessages, ToolCallJsonSerializerOptions);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
43Assert.Same(client.ToolCallJsonSerializerOptions, AIJsonUtilities.DefaultOptions); 48Assert.Same(options, client.ToolCallJsonSerializerOptions);