Moved the background agents to AI operations (#1215)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-21 19:47:10 +01:00
1 parent 8a4a26503b
commit c50a93cd17
139 files changed
+4069 -2340

No files matched your search

@@ -0,0 +1,21 @@
using System.Text.Json;
namespace AIStudio.AIOperations;
/// <summary>
/// How AI operations read the JSON in the answers of models.
/// </summary>
/// <remarks>
/// Find the JSON in an answer with ModelAnswerJson first, then read it with these options.
/// </remarks>
internal static class AIOperationsJson
{
/// <summary>
/// The options for the JSON in a model answer to an AI operation.
/// </summary>
internal static readonly JsonSerializerOptions OPTIONS = new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower,
TypeInfoResolver = AIOperationsJsonContext.Default,
}.AsReadOnly();
}