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