mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
41d441420e
* Initial draft of actor runtime abstractions
22 lines
831 B
C#
22 lines
831 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
using HelloHttpApi.ApiService;
|
|
using Microsoft.Extensions.AI;
|
|
using Microsoft.Extensions.AI.Agents;
|
|
/// <summary>
|
|
/// Source-generated JSON type information for use by all Agents implementations.
|
|
/// </summary>
|
|
[JsonSourceGenerationOptions(
|
|
JsonSerializerDefaults.Web,
|
|
UseStringEnumConverter = true,
|
|
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
|
WriteIndented = false)]
|
|
[JsonSerializable(typeof(ChatMessage))]
|
|
[JsonSerializable(typeof(List<ChatMessage>))]
|
|
[JsonSerializable(typeof(ChatClientAgentThread))]
|
|
[JsonSerializable(typeof(ChatClientAgentRunRequest))]
|
|
[JsonSerializable(typeof(AgentRunResponseUpdate))]
|
|
internal sealed partial class AgentsJsonContext : JsonSerializerContext;
|