mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
a3a9147e61
* Rename AgentThread to AgentSession * Add more renames * Update readme files * Revert nullable variable change and further fixes. * Revert change in header name * Fix some comments and tests * Update changelog. * Address PR feedback. * Fixing code review comments. * Fix new errors after merging latest code.
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(InMemoryAgentSession.InMemoryAgentSessionState))]
|
|
[JsonSerializable(typeof(ServiceIdAgentSession.ServiceIdAgentSessionState))]
|
|
[JsonSerializable(typeof(ServiceIdAgentSessionTests.EmptyObject))]
|
|
[JsonSerializable(typeof(InMemoryChatHistoryProviderTests.TestAIContent))]
|
|
internal sealed partial class TestJsonSerializerContext : JsonSerializerContext;
|