diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.AgentsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.AgentsClient.g.cs
index b6bac18..511e6a8 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.AgentsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.AgentsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class AgentsClient : global::tryAGI.Humanloop.IAgentsClien
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.DatasetsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.DatasetsClient.g.cs
index 39fc556..90066dc 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.DatasetsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.DatasetsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class DatasetsClient : global::tryAGI.Humanloop.IDatasetsC
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.DirectoriesClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.DirectoriesClient.g.cs
index 0019de9..2143593 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.DirectoriesClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.DirectoriesClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class DirectoriesClient : global::tryAGI.Humanloop.IDirect
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluationsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluationsClient.g.cs
index b7b92c2..197e74d 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluationsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluationsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class EvaluationsClient : global::tryAGI.Humanloop.IEvalua
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluatorsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluatorsClient.g.cs
index 85d4cf8..91ba225 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluatorsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluatorsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class EvaluatorsClient : global::tryAGI.Humanloop.IEvaluat
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.FilesClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.FilesClient.g.cs
index 672ea55..ae0fd9a 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.FilesClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.FilesClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class FilesClient : global::tryAGI.Humanloop.IFilesClient,
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.FlowsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.FlowsClient.g.cs
index 3ee8bc4..0517066 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.FlowsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.FlowsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class FlowsClient : global::tryAGI.Humanloop.IFlowsClient,
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.HumanloopClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.HumanloopClient.g.cs
index d94d41e..5d547cc 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.HumanloopClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.HumanloopClient.g.cs
@@ -36,10 +36,17 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
@@ -48,7 +55,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public AgentsClient Agents => new AgentsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -57,7 +64,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public DatasetsClient Datasets => new DatasetsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -66,7 +73,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public DirectoriesClient Directories => new DirectoriesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -75,7 +82,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public EvaluationsClient Evaluations => new EvaluationsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -84,7 +91,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public EvaluatorsClient Evaluators => new EvaluatorsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -93,7 +100,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public FilesClient Files => new FilesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -102,7 +109,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public FlowsClient Flows => new FlowsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -111,7 +118,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public LogsClient Logs => new LogsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -120,7 +127,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public PromptsClient Prompts => new PromptsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
@@ -129,7 +136,7 @@ public sealed partial class HumanloopClient : global::tryAGI.Humanloop.IHumanloo
public ToolsClient Tools => new ToolsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
ReadResponseAsString = ReadResponseAsString,
- JsonSerializerContext = JsonSerializerContext,
+ JsonSerializerContextProvider = JsonSerializerContextProvider,
};
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.LogsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.LogsClient.g.cs
index c4b2c74..20b9972 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.LogsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.LogsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class LogsClient : global::tryAGI.Humanloop.ILogsClient, g
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.PromptsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.PromptsClient.g.cs
index 065d2bc..62baade 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.PromptsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.PromptsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class PromptsClient : global::tryAGI.Humanloop.IPromptsCli
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///
diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.ToolsClient.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.ToolsClient.g.cs
index 8d62c85..471deb5 100644
--- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.ToolsClient.g.cs
+++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.ToolsClient.g.cs
@@ -33,10 +33,17 @@ public sealed partial class ToolsClient : global::tryAGI.Humanloop.IToolsClient,
///
public global::tryAGI.Humanloop.AutoSDKClientOptions Options { get; }
+
+ internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::tryAGI.Humanloop.SourceGenerationContext.Default);
+
///
///
///
- public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.Humanloop.SourceGenerationContext.Default;
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
+ {
+ get => JsonSerializerContextProvider.Value;
+ set => JsonSerializerContextProvider = new(() => value);
+ }
///