mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
c70e594e6c
* rename AgentRunResponse and AgentRunResponseUpdate classes - part1 * rename varialbles, parameters, methods and tests * rollback unnecessary changes
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
using Microsoft.Agents.AI.Abstractions.UnitTests.Models;
|
|
|
|
namespace Microsoft.Agents.AI.Abstractions.UnitTests;
|
|
|
|
[JsonSourceGenerationOptions(
|
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
|
UseStringEnumConverter = true)]
|
|
[JsonSerializable(typeof(AgentResponse))]
|
|
[JsonSerializable(typeof(AgentResponseUpdate))]
|
|
[JsonSerializable(typeof(AgentRunOptions))]
|
|
[JsonSerializable(typeof(Animal))]
|
|
[JsonSerializable(typeof(JsonElement))]
|
|
[JsonSerializable(typeof(Dictionary<string, object?>))]
|
|
[JsonSerializable(typeof(string[]))]
|
|
[JsonSerializable(typeof(int))]
|
|
[JsonSerializable(typeof(InMemoryAgentThread.InMemoryAgentThreadState))]
|
|
[JsonSerializable(typeof(ServiceIdAgentThread.ServiceIdAgentThreadState))]
|
|
[JsonSerializable(typeof(ServiceIdAgentThreadTests.EmptyObject))]
|
|
[JsonSerializable(typeof(InMemoryChatMessageStoreTests.TestAIContent))]
|
|
internal sealed partial class TestJsonSerializerContext : JsonSerializerContext;
|