From bc515534204b258d6cbca45c841b03af9cb52d28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Mar 2026 01:28:17 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...Letta.Models.AgentEnvironmentVariable.g.cs | 24 +++--- .../Generated/Letta.Models.AgentState.g.cs | 80 +++++++++---------- ...CountDeployedAgentsSearchItemVariant1.g.cs | 4 +- ...CountDeployedAgentsSearchItemVariant2.g.cs | 4 +- ...CountDeployedAgentsSearchItemVariant3.g.cs | 4 +- ...CountDeployedAgentsSearchItemVariant4.g.cs | 4 +- ...CountDeployedAgentsSearchItemVariant5.g.cs | 4 +- ...CountDeployedAgentsSearchItemVariant6.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant1.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant2.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant3.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant4.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant5.g.cs | 4 +- ...ployedAgentsRequestSearchItemVariant6.g.cs | 4 +- .../Generated/Letta.Models.Annotation.g.cs | 4 +- .../Letta.Models.ApprovalRequestMessage.g.cs | 8 +- .../Letta.Models.ApprovalReturn.g.cs | 10 +-- .../Letta/Generated/Letta.Models.Archive.g.cs | 16 ++-- .../Letta.Models.AssistantMessage.g.cs | 8 +- ...tta.Models.AssistantMessageListResult.g.cs | 16 ++-- .../Generated/Letta.Models.Base64Image.g.cs | 10 +-- .../Generated/Letta.Models.BlockResponse.g.cs | 8 +- .../Generated/Letta.Models.BlockSchema.g.cs | 16 ++-- .../Letta.Models.ChatCompletion.g.cs | 2 +- ...s.ChatCompletionAssistantMessageParam.g.cs | 2 +- ...s.ChatCompletionDeveloperMessageParam.g.cs | 2 +- ...ls.ChatCompletionFunctionMessageParam.g.cs | 4 +- .../Letta.Models.ChatCompletionMessage.g.cs | 2 +- ...dels.ChatCompletionSystemMessageParam.g.cs | 2 +- ...Models.ChatCompletionToolMessageParam.g.cs | 4 +- ...Models.ChatCompletionUserMessageParam.g.cs | 2 +- .../Generated/Letta.Models.ChildToolRule.g.cs | 8 +- .../Letta/Generated/Letta.Models.Choice.g.cs | 4 +- ...eAccessTokenRequestPolicyItemVariant1.g.cs | 4 +- ...teClientSideAccessTokenResponsePolicy.g.cs | 4 +- ...ssTokenResponsePolicyDataItemVariant1.g.cs | 4 +- ...ntSideAccessTokensResponseTokenPolicy.g.cs | 4 +- ...nsResponseTokenPolicyDataItemVariant1.g.cs | 4 +- .../Letta.Models.CompactionStats.g.cs | 16 ++-- .../Letta.Models.ConditionalToolRule.g.cs | 8 +- ...etta.Models.ConditionalToolRuleSchema.g.cs | 4 +- .../Letta.Models.ContextWindowOverview.g.cs | 32 ++++---- .../Generated/Letta.Models.Conversation.g.cs | 16 ++-- .../Letta.Models.CoreMemoryBlockSchema.g.cs | 12 +-- .../Generated/Letta.Models.CreateBlock.g.cs | 8 +- .../Letta.Models.CreateSSEMCPServer.g.cs | 8 +- .../Letta.Models.CreateStdioMCPServer.g.cs | 8 +- ....Models.CreateStreamableHTTPMCPServer.g.cs | 8 +- ...Letta.Models.DeleteDeploymentResponse.g.cs | 4 +- .../Letta.Models.DynamicManager.g.cs | 4 +- .../Letta.Models.DynamicManagerSchema.g.cs | 4 +- .../Letta.Models.EmbeddingConfig.g.cs | 8 +- .../Letta.Models.EmbeddingModel.g.cs | 18 ++--- ...els.EnvironmentsGetConnectionResponse.g.cs | 12 +-- ...entsListConnectionsResponseConnection.g.cs | 12 +-- ...entsSendMessageRequestMessageVariant1.g.cs | 4 +- ...estMessageVariant1ContentVariant2Item.g.cs | 4 +- ...entsSendMessageRequestMessageVariant2.g.cs | 4 +- ...equestMessageVariant2ApprovalVariant1.g.cs | 4 +- ...pprovalVariant1ToolReturnVariant2Item.g.cs | 4 +- ...equestMessageVariant2ApprovalVariant2.g.cs | 4 +- .../Generated/Letta.Models.EventMessage.g.cs | 4 +- .../Letta.Models.FeedsCreateFeedResponse.g.cs | 8 +- .../Letta.Models.FeedsGetFeedResponse.g.cs | 8 +- ...tta.Models.FeedsListFeedsResponseFeed.g.cs | 4 +- ...ListSubscriptionsResponseSubscription.g.cs | 16 ++-- ...ta.Models.FeedsSubscribeAgentResponse.g.cs | 12 +-- ...odels.FeedsUpdateSubscriptionResponse.g.cs | 16 ++-- .../Letta.Models.FileAgentSchema.g.cs | 8 +- .../Generated/Letta.Models.FileBlock.g.cs | 24 +++--- .../Generated/Letta.Models.FileSchema.g.cs | 8 +- .../Letta/Generated/Letta.Models.Folder.g.cs | 8 +- .../Letta.Models.GenerateToolInput.g.cs | 8 +- .../Generated/Letta.Models.GroupSchema.g.cs | 8 +- .../Letta.Models.HiddenReasoningMessage.g.cs | 4 +- .../Generated/Letta.Models.Identity.g.cs | 16 ++-- .../Generated/Letta.Models.ImageContent.g.cs | 8 +- ...ta.Models.InternalTemplateAgentCreate.g.cs | 32 ++++---- ...ta.Models.InternalTemplateBlockCreate.g.cs | 40 +++++----- ...ta.Models.InternalTemplateGroupCreate.g.cs | 24 +++--- ...Letta.Models.JsonSchemaResponseFormat.g.cs | 8 +- .../Generated/Letta.Models.LLMConfig.g.cs | 16 ++-- .../Letta.Models.LettaBatchRequest.g.cs | 8 +- .../Letta.Models.LettaErrorMessage.g.cs | 10 +-- .../Generated/Letta.Models.LettaImage.g.cs | 8 +- ...dels.LettaSchemasAgentFileAgentSchema.g.cs | 8 +- ...ls.LettaSchemasAgentFileMessageSchema.g.cs | 18 ++--- ...ls.LettaSchemasLettaMessageToolReturn.g.cs | 10 +-- ...ls.LettaSchemasMessageToolReturnInput.g.cs | 8 +- ...s.LettaSchemasMessageToolReturnOutput.g.cs | 8 +- ...ionResponseChatCompletionTokenLogprob.g.cs | 4 +- ...penaiChatCompletionResponseTopLogprob.g.cs | 4 +- ...SchemasPydanticAgentSchemaAgentSchema.g.cs | 12 +-- ...hemasPydanticAgentSchemaMessageSchema.g.cs | 16 ++-- ...eSchemasPydanticAgentSchemaToolSchema.g.cs | 8 +- .../Letta.Models.LettaStopReason.g.cs | 8 +- ...Models.ListDeploymentEntitiesResponse.g.cs | 8 +- .../Letta/Generated/Letta.Models.MCPTool.g.cs | 4 +- .../Letta.Models.MaxCountPerStepToolRule.g.cs | 8 +- .../Letta/Generated/Letta.Models.Memory.g.cs | 8 +- .../Letta/Generated/Letta.Models.Message.g.cs | 8 +- .../Generated/Letta.Models.MessageCreate.g.cs | 10 +-- .../Letta.Models.MessageSearchResult.g.cs | 8 +- ...a.Models.MetadataSendTelemetryRequest.g.cs | 4 +- ...dataSendTelemetryRequestEventVariant1.g.cs | 4 +- ...SendTelemetryRequestEventVariant1Data.g.cs | 4 +- ...dataSendTelemetryRequestEventVariant2.g.cs | 4 +- ...SendTelemetryRequestEventVariant2Data.g.cs | 4 +- ...dataSendTelemetryRequestEventVariant3.g.cs | 4 +- ...SendTelemetryRequestEventVariant3Data.g.cs | 4 +- ...dataSendTelemetryRequestEventVariant4.g.cs | 4 +- ...SendTelemetryRequestEventVariant4Data.g.cs | 8 +- ...dataSendTelemetryRequestEventVariant5.g.cs | 4 +- ...SendTelemetryRequestEventVariant5Data.g.cs | 8 +- .../Letta/Generated/Letta.Models.Model.g.cs | 42 +++++----- ...okenLogprobChatCompletionTokenLogprob.g.cs | 4 +- ...tChatCompletionTokenLogprobTopLogprob.g.cs | 4 +- .../Letta.Models.PaginatedAgentFiles.g.cs | 8 +- .../Letta.Models.ParametersSchema.g.cs | 4 +- .../Letta.Models.ParentToolRule.g.cs | 8 +- .../Letta/Generated/Letta.Models.Passage.g.cs | 8 +- ...PipelineRequestProducerConfigVariant1.g.cs | 4 +- ...PipelineRequestProducerConfigVariant2.g.cs | 4 +- ...pelinesCreatePipelineResponsePipeline.g.cs | 12 +-- ...ipelineResponsePipelineConfigVariant1.g.cs | 4 +- ...ipelineResponsePipelineConfigVariant2.g.cs | 4 +- ....PipelinesGetPipelineResponsePipeline.g.cs | 12 +-- ...ipelineResponsePipelineConfigVariant1.g.cs | 4 +- ...ipelineResponsePipelineConfigVariant2.g.cs | 4 +- ...ipelinesListPipelinesResponsePipeline.g.cs | 12 +-- ...pelinesResponsePipelineConfigVariant1.g.cs | 4 +- ...pelinesResponsePipelineConfigVariant2.g.cs | 4 +- ...PipelineRequestProducerConfigVariant1.g.cs | 4 +- ...PipelineRequestProducerConfigVariant2.g.cs | 4 +- ...erConfigRequestProducerConfigVariant1.g.cs | 4 +- ...erConfigRequestProducerConfigVariant2.g.cs | 4 +- ...ipelineProducerConfigResponsePipeline.g.cs | 12 +-- ...rConfigResponsePipelineConfigVariant1.g.cs | 4 +- ...rConfigResponsePipelineConfigVariant2.g.cs | 4 +- ...pelinesUpdatePipelineResponsePipeline.g.cs | 12 +-- ...ipelineResponsePipelineConfigVariant1.g.cs | 4 +- ...ipelineResponsePipelineConfigVariant2.g.cs | 4 +- .../Generated/Letta.Models.Provider.g.cs | 8 +- .../Generated/Letta.Models.ProviderTrace.g.cs | 16 ++-- .../Letta.Models.ReasoningContent.g.cs | 10 +-- .../Letta.Models.ReasoningMessage.g.cs | 4 +- ...tta.Models.ReasoningMessageListResult.g.cs | 16 ++-- ...Letta.Models.RedactedReasoningContent.g.cs | 8 +- .../Letta/Generated/Letta.Models.Run.g.cs | 8 +- .../Generated/Letta.Models.SSEMCPServer.g.cs | 16 ++-- .../Letta.Models.SSEServerConfig.g.cs | 8 +- ...tta.Models.SandboxEnvironmentVariable.g.cs | 24 +++--- ...ponseScheduledMessageScheduleVariant1.g.cs | 4 +- ...ponseScheduledMessageScheduleVariant2.g.cs | 4 +- ...eduledMessageResponseScheduleVariant1.g.cs | 4 +- ...eduledMessageResponseScheduleVariant2.g.cs | 4 +- ...edMessagesScheduleAgentMessageRequest.g.cs | 4 +- ...leAgentMessageRequestScheduleVariant1.g.cs | 4 +- ...leAgentMessageRequestScheduleVariant2.g.cs | 4 +- .../Letta.Models.SleeptimeManager.g.cs | 4 +- .../Letta.Models.SleeptimeManagerSchema.g.cs | 4 +- .../Letta/Generated/Letta.Models.Source2.g.cs | 8 +- .../Generated/Letta.Models.SourceSchema.g.cs | 8 +- .../Letta.Models.StdioMCPServer.g.cs | 16 ++-- .../Letta.Models.StdioServerConfig.g.cs | 8 +- .../Letta.Models.StreamableHTTPMCPServer.g.cs | 16 ++-- ...tta.Models.StreamableHTTPServerConfig.g.cs | 8 +- ...tta.Models.SummarizedReasoningContent.g.cs | 10 +-- .../Letta.Models.SummaryMessage.g.cs | 4 +- .../Letta.Models.SupervisorManager.g.cs | 4 +- .../Letta.Models.SupervisorManagerSchema.g.cs | 4 +- .../Generated/Letta.Models.SystemMessage.g.cs | 8 +- .../Letta.Models.SystemMessageListResult.g.cs | 16 ++-- ...teAgentsFromTemplateNoProjectResponse.g.cs | 8 +- ...reateTemplateNoProjectRequestVariant1.g.cs | 4 +- ...reateTemplateNoProjectRequestVariant2.g.cs | 4 +- ...platesCreateTemplateNoProjectResponse.g.cs | 4 +- ...emplatesCreateTemplateRequestVariant1.g.cs | 4 +- ...emplatesCreateTemplateRequestVariant2.g.cs | 4 +- ...odels.TemplatesCreateTemplateResponse.g.cs | 4 +- ....Models.TemplatesForkTemplateResponse.g.cs | 4 +- ...latesGetTemplateSnapshotResponseAgent.g.cs | 12 +-- ...tResponseAgentMemoryVariablesDataItem.g.cs | 4 +- ...SnapshotResponseAgentToolRuleVariant1.g.cs | 4 +- ...SnapshotResponseAgentToolRuleVariant4.g.cs | 4 +- ...SnapshotResponseAgentToolRuleVariant7.g.cs | 4 +- ...SnapshotResponseAgentToolRuleVariant8.g.cs | 4 +- ...hotResponseAgentToolVariablesDataItem.g.cs | 4 +- ...latesGetTemplateSnapshotResponseBlock.g.cs | 4 +- ...esListTemplateVersionsResponseVersion.g.cs | 8 +- ...emplatesListTemplatesResponseTemplate.g.cs | 4 +- ...sSaveTemplateVersionNoProjectResponse.g.cs | 4 +- ....TemplatesSaveTemplateVersionResponse.g.cs | 4 +- .../Generated/Letta.Models.TextContent.g.cs | 8 +- .../Letta.Models.ToolCallContent.g.cs | 10 +-- .../Letta.Models.ToolCallMessage.g.cs | 4 +- .../Generated/Letta.Models.ToolCreate.g.cs | 8 +- .../Letta.Models.ToolEnvVarSchema.g.cs | 4 +- .../Letta.Models.ToolReturnContent.g.cs | 10 +-- .../Letta.Models.ToolReturnCreate.g.cs | 8 +- .../Letta.Models.ToolReturnMessage.g.cs | 12 +-- .../Letta.Models.ToolSearchResult.g.cs | 8 +- .../Letta.Models.UpdateAssistantMessage.g.cs | 8 +- .../Letta.Models.UpdateMCPServerRequest.g.cs | 8 +- .../Letta.Models.UpdateSystemMessage.g.cs | 8 +- .../Letta.Models.UpdateUserMessage.g.cs | 8 +- .../Generated/Letta.Models.UrlImage.g.cs | 8 +- .../Letta/Generated/Letta.Models.User.g.cs | 8 +- .../Generated/Letta.Models.UserMessage.g.cs | 8 +- .../Letta.Models.UserMessageListResult.g.cs | 16 ++-- .../Letta.Models.VoiceSleeptimeManager.g.cs | 4 +- ...ta.Models.VoiceSleeptimeManagerSchema.g.cs | 4 +- 212 files changed, 868 insertions(+), 868 deletions(-) diff --git a/src/libs/Letta/Generated/Letta.Models.AgentEnvironmentVariable.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentEnvironmentVariable.g.cs index d6d9601..3ca26eb 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentEnvironmentVariable.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentEnvironmentVariable.g.cs @@ -80,6 +80,15 @@ public sealed partial class AgentEnvironmentVariable /// /// Initializes a new instance of the class. /// + /// + /// The name of the environment variable. + /// + /// + /// The value of the environment variable. + /// + /// + /// The ID of the agent this environment variable belongs to. + /// /// /// The id of the user that made this object. /// @@ -95,21 +104,12 @@ public sealed partial class AgentEnvironmentVariable /// /// The human-friendly ID of the Agent-env /// - /// - /// The name of the environment variable. - /// - /// - /// The value of the environment variable. - /// /// /// An optional description of the environment variable. /// /// /// Encrypted value as Secret object /// - /// - /// The ID of the agent this environment variable belongs to. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -125,16 +125,16 @@ public AgentEnvironmentVariable( string? description, string? valueEnc) { - this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.Id = id; + this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Description = description; this.ValueEnc = valueEnc; + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentState.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentState.g.cs index e69c451..82e0fa3 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentState.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentState.g.cs @@ -307,6 +307,36 @@ public sealed partial class AgentState /// /// Initializes a new instance of the class. /// + /// + /// The id of the agent. Assigned by the database. + /// + /// + /// The name of the agent. + /// + /// + /// The system prompt used by the agent. + /// + /// + /// The type of agent. + /// + /// + /// Deprecated: Use `model` field instead. The LLM configuration used by the agent. + /// + /// + /// Deprecated: Use `blocks` field instead. The in-context memory of the agent. + /// + /// + /// The memory blocks used by the agent. + /// + /// + /// The tools used by the agent. + /// + /// + /// Deprecated: Use `folders` field instead. The sources used by the agent. + /// + /// + /// The tags associated with the agent. + /// /// /// The id of the user that made this object. /// @@ -319,27 +349,12 @@ public sealed partial class AgentState /// /// The timestamp when the object was last updated. /// - /// - /// The id of the agent. Assigned by the database. - /// - /// - /// The name of the agent. - /// /// /// The list of tool rules. /// /// /// The ids of the messages in the agent's in-context memory. /// - /// - /// The system prompt used by the agent. - /// - /// - /// The type of agent. - /// - /// - /// Deprecated: Use `model` field instead. The LLM configuration used by the agent. - /// /// /// The model handle used by the agent (format: provider/model-name). /// @@ -361,21 +376,6 @@ public sealed partial class AgentState /// /// The metadata of the agent. /// - /// - /// Deprecated: Use `blocks` field instead. The in-context memory of the agent. - /// - /// - /// The memory blocks used by the agent. - /// - /// - /// The tools used by the agent. - /// - /// - /// Deprecated: Use `folders` field instead. The sources used by the agent. - /// - /// - /// The tags associated with the agent. - /// /// /// The environment variables for tool execution specific to this agent. /// @@ -478,22 +478,17 @@ public AgentState( int? perFileViewWindowCharLimit, bool? hidden) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.System = system ?? throw new global::System.ArgumentNullException(nameof(system)); - this.AgentType = agentType; - this.LlmConfig = llmConfig ?? throw new global::System.ArgumentNullException(nameof(llmConfig)); - this.Memory = memory ?? throw new global::System.ArgumentNullException(nameof(memory)); - this.Blocks = blocks ?? throw new global::System.ArgumentNullException(nameof(blocks)); - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.Sources = sources ?? throw new global::System.ArgumentNullException(nameof(sources)); - this.Tags = tags ?? throw new global::System.ArgumentNullException(nameof(tags)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.ToolRules = toolRules; this.MessageIds = messageIds; + this.System = system ?? throw new global::System.ArgumentNullException(nameof(system)); + this.AgentType = agentType; + this.LlmConfig = llmConfig ?? throw new global::System.ArgumentNullException(nameof(llmConfig)); this.Model = model; this.Embedding = embedding; this.ModelSettings = modelSettings; @@ -501,6 +496,11 @@ public AgentState( this.ResponseFormat = responseFormat; this.Description = description; this.Metadata = metadata; + this.Memory = memory ?? throw new global::System.ArgumentNullException(nameof(memory)); + this.Blocks = blocks ?? throw new global::System.ArgumentNullException(nameof(blocks)); + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); + this.Sources = sources ?? throw new global::System.ArgumentNullException(nameof(sources)); + this.Tags = tags ?? throw new global::System.ArgumentNullException(nameof(tags)); this.Secrets = secrets; this.ProjectId = projectId; this.TemplateId = templateId; diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant1.g.cs index e225ab4..d84654d 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public AgentsCountDeployedAgentsSearchItemVariant1( string value, global::Letta.AgentsCountDeployedAgentsSearchItemVariant1Field field) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant2.g.cs index ae8066d..a726fb0 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant2.g.cs @@ -39,9 +39,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public AgentsCountDeployedAgentsSearchItemVariant2( string value, global::Letta.AgentsCountDeployedAgentsSearchItemVariant2Field field) { + this.Field = field; this.Operator = @operator; this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Field = field; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant3.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant3.g.cs index 6045449..42486b8 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant3.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant3.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant3 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsCountDeployedAgentsSearchItemVariant3( global::Letta.AgentsCountDeployedAgentsSearchItemVariant3Field field, global::Letta.AgentsCountDeployedAgentsSearchItemVariant3Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant4.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant4.g.cs index 9aecaaa..f9e87fe 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant4.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant4.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant4 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsCountDeployedAgentsSearchItemVariant4( global::Letta.AgentsCountDeployedAgentsSearchItemVariant4Field field, global::Letta.AgentsCountDeployedAgentsSearchItemVariant4Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant5.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant5.g.cs index da0d02e..f0a93cc 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant5.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant5.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant5 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsCountDeployedAgentsSearchItemVariant5( global::Letta.AgentsCountDeployedAgentsSearchItemVariant5Field field, global::Letta.AgentsCountDeployedAgentsSearchItemVariant5Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant6.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant6.g.cs index 4cde64e..c68291e 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant6.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsCountDeployedAgentsSearchItemVariant6.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant6 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsCountDeployedAgentsSearchItemVariant6( global::Letta.AgentsCountDeployedAgentsSearchItemVariant6Field field, global::Letta.AgentsCountDeployedAgentsSearchItemVariant6Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant1.g.cs index 0ef594a..ee0d9bb 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant1( string value, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant1Field field) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant2.g.cs index 2da7549..5a87eea 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant2.g.cs @@ -39,9 +39,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant2( string value, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant2Field field) { + this.Field = field; this.Operator = @operator; this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Field = field; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant3.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant3.g.cs index fcb0aad..d86df05 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant3.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant3.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant3 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant3( global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant3Field field, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant3Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant4.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant4.g.cs index 3cd7ea1..c638b78 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant4.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant4.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant4 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant4( global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant4Field field, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant4Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant5.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant5.g.cs index 6b32d99..6f81e21 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant5.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant5.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant5 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant5( global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant5Field field, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant5Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant6.g.cs b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant6.g.cs index c156d5a..baa6d03 100644 --- a/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant6.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AgentsSearchDeployedAgentsRequestSearchItemVariant6.g.cs @@ -38,9 +38,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant6 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public AgentsSearchDeployedAgentsRequestSearchItemVariant6( global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant6Field field, global::Letta.AgentsSearchDeployedAgentsRequestSearchItemVariant6Operator @operator) { - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Field = field; this.Operator = @operator; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Annotation.g.cs b/src/libs/Letta/Generated/Letta.Models.Annotation.g.cs index 4882380..d93db11 100644 --- a/src/libs/Letta/Generated/Letta.Models.Annotation.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Annotation.g.cs @@ -31,10 +31,10 @@ public sealed partial class Annotation /// /// Initializes a new instance of the class. /// - /// /// /// A URL citation when using web search. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public Annotation( global::Letta.AnnotationURLCitation urlCitation, string type = "url_citation") { - this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation)); this.Type = type; + this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ApprovalRequestMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.ApprovalRequestMessage.g.cs index c6e659f..b8352f8 100644 --- a/src/libs/Letta/Generated/Letta.Models.ApprovalRequestMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ApprovalRequestMessage.g.cs @@ -104,6 +104,9 @@ public sealed partial class ApprovalRequestMessage /// /// /// + /// + /// The tool call that has been requested by the llm to run + /// /// /// /// The type of the message.
@@ -115,9 +118,6 @@ public sealed partial class ApprovalRequestMessage /// /// /// - /// - /// The tool call that has been requested by the llm to run - /// /// /// The tool calls that have been requested by the llm to run, which are pending approval /// @@ -140,7 +140,6 @@ public ApprovalRequestMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.ToolCall = toolCall; this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -149,6 +148,7 @@ public ApprovalRequestMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.ToolCall = toolCall; this.ToolCalls = toolCalls; } diff --git a/src/libs/Letta/Generated/Letta.Models.ApprovalReturn.g.cs b/src/libs/Letta/Generated/Letta.Models.ApprovalReturn.g.cs index 1094655..42084d0 100644 --- a/src/libs/Letta/Generated/Letta.Models.ApprovalReturn.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ApprovalReturn.g.cs @@ -44,16 +44,16 @@ public sealed partial class ApprovalReturn /// /// Initializes a new instance of the class. /// - /// - /// The message type to be created.
- /// Default Value: approval - /// /// /// The ID of the tool call that corresponds to this approval /// /// /// Whether the tool has been approved /// + /// + /// The message type to be created.
+ /// Default Value: approval + /// /// /// An optional explanation for the provided approval status /// @@ -66,9 +66,9 @@ public ApprovalReturn( string? type, string? reason) { + this.Type = type; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.Approve = approve; - this.Type = type; this.Reason = reason; } diff --git a/src/libs/Letta/Generated/Letta.Models.Archive.g.cs b/src/libs/Letta/Generated/Letta.Models.Archive.g.cs index d1a78fc..827974a 100644 --- a/src/libs/Letta/Generated/Letta.Models.Archive.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Archive.g.cs @@ -81,21 +81,21 @@ public sealed partial class Archive /// /// Initializes a new instance of the class. /// + /// + /// The creation date of the archive + /// + /// + /// The name of the archive + /// /// /// The id of the user that made this object. /// /// /// The id of the user that made this object. /// - /// - /// The creation date of the archive - /// /// /// The timestamp when the object was last updated. /// - /// - /// The name of the archive - /// /// /// A description of the archive /// @@ -127,11 +127,11 @@ public Archive( object? metadata, string? id) { - this.CreatedAt = createdAt; - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; + this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.VectorDbProvider = vectorDbProvider; this.EmbeddingConfig = embeddingConfig; diff --git a/src/libs/Letta/Generated/Letta.Models.AssistantMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.AssistantMessage.g.cs index 5f31b25..a4ec1c0 100644 --- a/src/libs/Letta/Generated/Letta.Models.AssistantMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AssistantMessage.g.cs @@ -95,6 +95,9 @@ public sealed partial class AssistantMessage ///
/// /// + /// + /// The message content sent by the agent (can be a string or an array of content parts) + /// /// /// /// The type of the message.
@@ -106,9 +109,6 @@ public sealed partial class AssistantMessage /// /// /// - /// - /// The message content sent by the agent (can be a string or an array of content parts) - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -127,7 +127,6 @@ public AssistantMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.Content = content; this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -136,6 +135,7 @@ public AssistantMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.Content = content; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.AssistantMessageListResult.g.cs b/src/libs/Letta/Generated/Letta.Models.AssistantMessageListResult.g.cs index df30c78..e89dbe2 100644 --- a/src/libs/Letta/Generated/Letta.Models.AssistantMessageListResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.AssistantMessageListResult.g.cs @@ -58,24 +58,24 @@ public sealed partial class AssistantMessageListResult /// /// Initializes a new instance of the class. /// - /// - /// Default Value: assistant_message - /// /// /// The message content sent by the assistant (can be a string or an array of content parts) /// /// /// The unique identifier of the message. /// + /// + /// The time the message was created in ISO format. + /// + /// + /// Default Value: assistant_message + /// /// /// The unique identifier of the agent that owns the message. /// /// /// The unique identifier of the conversation that the message belongs to. /// - /// - /// The time the message was created in ISO format. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public AssistantMessageListResult( string? agentId, string? conversationId) { + this.MessageType = messageType; this.Content = content; this.MessageId = messageId ?? throw new global::System.ArgumentNullException(nameof(messageId)); - this.CreatedAt = createdAt; - this.MessageType = messageType; this.AgentId = agentId; this.ConversationId = conversationId; + this.CreatedAt = createdAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Base64Image.g.cs b/src/libs/Letta/Generated/Letta.Models.Base64Image.g.cs index 0f55c59..ae72148 100644 --- a/src/libs/Letta/Generated/Letta.Models.Base64Image.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Base64Image.g.cs @@ -44,16 +44,16 @@ public sealed partial class Base64Image /// /// Initializes a new instance of the class. /// - /// - /// The source type for the image.
- /// Default Value: base64 - /// /// /// The media type for the image. /// /// /// The base64 encoded image data. /// + /// + /// The source type for the image.
+ /// Default Value: base64 + /// /// /// What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide) /// @@ -66,9 +66,9 @@ public Base64Image( string? type, string? detail) { + this.Type = type; this.MediaType = mediaType ?? throw new global::System.ArgumentNullException(nameof(mediaType)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; this.Detail = detail; } diff --git a/src/libs/Letta/Generated/Letta.Models.BlockResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.BlockResponse.g.cs index 735afd9..74f5bf6 100644 --- a/src/libs/Letta/Generated/Letta.Models.BlockResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.BlockResponse.g.cs @@ -152,6 +152,9 @@ public sealed partial class BlockResponse /// /// Value of the block. /// + /// + /// The id of the block. + /// /// /// Character limit of the block.
/// Default Value: 100000 @@ -173,9 +176,6 @@ public sealed partial class BlockResponse /// Metadata of the block.
/// Default Value: {} /// - /// - /// The id of the block. - /// /// /// The id of the user that made this Block. /// @@ -203,13 +203,13 @@ public BlockResponse( global::System.Collections.Generic.IList? tags) { this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Limit = limit; this.ProjectId = projectId; this.IsTemplate = isTemplate; this.Label = label; this.Description = description; this.Metadata = metadata; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.Tags = tags; diff --git a/src/libs/Letta/Generated/Letta.Models.BlockSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.BlockSchema.g.cs index b6c66f4..269c80a 100644 --- a/src/libs/Letta/Generated/Letta.Models.BlockSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.BlockSchema.g.cs @@ -129,6 +129,12 @@ public sealed partial class BlockSchema /// /// Value of the block. /// + /// + /// Label of the block. + /// + /// + /// Human-readable identifier for this block in the file + /// /// /// Character limit of the block.
/// Default Value: 100000 @@ -158,9 +164,6 @@ public sealed partial class BlockSchema /// Preserve the block on template migration.
/// Default Value: false /// - /// - /// Label of the block. - /// /// /// Whether the agent has read-only access to the block.
/// Default Value: false @@ -178,9 +181,6 @@ public sealed partial class BlockSchema /// /// The tags to associate with the block. /// - /// - /// Human-readable identifier for this block in the file - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -204,8 +204,6 @@ public BlockSchema( global::System.Collections.Generic.IList? tags) { this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Limit = limit; this.ProjectId = projectId; this.TemplateName = templateName; @@ -215,11 +213,13 @@ public BlockSchema( this.DeploymentId = deploymentId; this.EntityId = entityId; this.PreserveOnMigration = preserveOnMigration; + this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.ReadOnly = readOnly; this.Description = description; this.Metadata = metadata; this.Hidden = hidden; this.Tags = tags; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletion.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletion.g.cs index 4e17c91..b39ba98 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletion.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletion.g.cs @@ -74,10 +74,10 @@ public sealed partial class ChatCompletion /// /// /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionAssistantMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionAssistantMessageParam.g.cs index ef1df69..a5d080c 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionAssistantMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionAssistantMessageParam.g.cs @@ -61,13 +61,13 @@ public sealed partial class ChatCompletionAssistantMessageParam /// /// Initializes a new instance of the class. /// - /// /// /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionDeveloperMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionDeveloperMessageParam.g.cs index f6fa92e..aa97e8b 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionDeveloperMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionDeveloperMessageParam.g.cs @@ -41,8 +41,8 @@ public sealed partial class ChatCompletionDeveloperMessageParam /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionFunctionMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionFunctionMessageParam.g.cs index 2484dc2..34a5b2d 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionFunctionMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionFunctionMessageParam.g.cs @@ -37,8 +37,8 @@ public sealed partial class ChatCompletionFunctionMessageParam /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -48,8 +48,8 @@ public ChatCompletionFunctionMessageParam( string? content, string role = "function") { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Content = content; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Role = role; } diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionMessage.g.cs index f5023e3..3be2e1d 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionMessage.g.cs @@ -62,11 +62,11 @@ public sealed partial class ChatCompletionMessage ///
/// /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionSystemMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionSystemMessageParam.g.cs index 9d11f89..57b97e6 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionSystemMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionSystemMessageParam.g.cs @@ -41,8 +41,8 @@ public sealed partial class ChatCompletionSystemMessageParam /// Initializes a new instance of the class. ///
/// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionToolMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionToolMessageParam.g.cs index a20179f..19e982c 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionToolMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionToolMessageParam.g.cs @@ -40,8 +40,8 @@ public sealed partial class ChatCompletionToolMessageParam /// Initializes a new instance of the class. ///
/// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -51,8 +51,8 @@ public ChatCompletionToolMessageParam( string role = "tool") { this.Content = content; - this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.Role = role; + this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ChatCompletionUserMessageParam.g.cs b/src/libs/Letta/Generated/Letta.Models.ChatCompletionUserMessageParam.g.cs index 7f2b066..8eec5fa 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChatCompletionUserMessageParam.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChatCompletionUserMessageParam.g.cs @@ -40,8 +40,8 @@ public sealed partial class ChatCompletionUserMessageParam /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Letta/Generated/Letta.Models.ChildToolRule.g.cs b/src/libs/Letta/Generated/Letta.Models.ChildToolRule.g.cs index 0bb68d8..f756ad2 100644 --- a/src/libs/Letta/Generated/Letta.Models.ChildToolRule.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ChildToolRule.g.cs @@ -52,15 +52,15 @@ public sealed partial class ChildToolRule /// /// The name of the tool. Must exist in the database for the user's organization. /// + /// + /// The children tools that can be invoked. + /// /// /// Default Value: constrain_child_tools /// /// /// Optional template string (ignored). /// - /// - /// The children tools that can be invoked. - /// /// /// Optional list of typed child argument overrides. Each node must reference a child in 'children'. /// @@ -75,9 +75,9 @@ public ChildToolRule( global::System.Collections.Generic.IList? childArgNodes) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.Type = type; this.PromptTemplate = promptTemplate; + this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.ChildArgNodes = childArgNodes; } diff --git a/src/libs/Letta/Generated/Letta.Models.Choice.g.cs b/src/libs/Letta/Generated/Letta.Models.Choice.g.cs index 51ab668..3b5ff82 100644 --- a/src/libs/Letta/Generated/Letta.Models.Choice.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Choice.g.cs @@ -47,10 +47,10 @@ public sealed partial class Choice ///
/// /// - /// /// /// A chat completion message generated by the model. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -62,8 +62,8 @@ public Choice( { this.FinishReason = finishReason; this.Index = index; - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Logprobs = logprobs; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant1.g.cs index 5728302..cf8692d 100644 --- a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant1.g.cs @@ -38,9 +38,9 @@ public sealed partial class ClientSideAccessTokensCreateClientSideAccessTokenReq /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant global::System.Collections.Generic.IList access, global::Letta.ClientSideAccessTokensCreateClientSideAccessTokenRequestPolicyItemVariant1Type type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Access = access ?? throw new global::System.ArgumentNullException(nameof(access)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.g.cs b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.g.cs index 48b83ce..14c9a96 100644 --- a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy.g.cs @@ -31,8 +31,8 @@ public sealed partial class ClientSideAccessTokensCreateClientSideAccessTokenRes /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicy( global::System.Collections.Generic.IList data, global::Letta.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyVersion version) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Version = version; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVariant1.g.cs index 8eefbbe..cb3a574 100644 --- a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVariant1.g.cs @@ -38,9 +38,9 @@ public sealed partial class ClientSideAccessTokensCreateClientSideAccessTokenRes /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVa global::System.Collections.Generic.IList access, global::Letta.ClientSideAccessTokensCreateClientSideAccessTokenResponsePolicyDataItemVariant1Type type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Access = access ?? throw new global::System.ArgumentNullException(nameof(access)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicy.g.cs b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicy.g.cs index 0f499b6..d4e0e0e 100644 --- a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicy.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicy.g.cs @@ -31,8 +31,8 @@ public sealed partial class ClientSideAccessTokensListClientSideAccessTokensResp /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicy( global::System.Collections.Generic.IList data, global::Letta.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyVersion version) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Version = version; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataItemVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataItemVariant1.g.cs index 5c36cfb..d6ec10e 100644 --- a/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataItemVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataItemVariant1.g.cs @@ -38,9 +38,9 @@ public sealed partial class ClientSideAccessTokensListClientSideAccessTokensResp /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataIt global::System.Collections.Generic.IList access, global::Letta.ClientSideAccessTokensListClientSideAccessTokensResponseTokenPolicyDataItemVariant1Type type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Access = access ?? throw new global::System.ArgumentNullException(nameof(access)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.CompactionStats.g.cs b/src/libs/Letta/Generated/Letta.Models.CompactionStats.g.cs index 31bd9a9..3e31b53 100644 --- a/src/libs/Letta/Generated/Letta.Models.CompactionStats.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CompactionStats.g.cs @@ -60,12 +60,6 @@ public sealed partial class CompactionStats /// /// What triggered the compaction (e.g., 'context_window_exceeded', 'post_step_context_check') /// - /// - /// Token count before compaction (from LLM usage stats, includes full context sent to LLM) - /// - /// - /// Token count after compaction (message tokens only, does not include tool definitions) - /// /// /// The model's context window size /// @@ -75,6 +69,12 @@ public sealed partial class CompactionStats /// /// Number of messages after compaction /// + /// + /// Token count before compaction (from LLM usage stats, includes full context sent to LLM) + /// + /// + /// Token count after compaction (message tokens only, does not include tool definitions) + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,11 +87,11 @@ public CompactionStats( int? contextTokensAfter) { this.Trigger = trigger ?? throw new global::System.ArgumentNullException(nameof(trigger)); + this.ContextTokensBefore = contextTokensBefore; + this.ContextTokensAfter = contextTokensAfter; this.ContextWindow = contextWindow; this.MessagesCountBefore = messagesCountBefore; this.MessagesCountAfter = messagesCountAfter; - this.ContextTokensBefore = contextTokensBefore; - this.ContextTokensAfter = contextTokensAfter; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ConditionalToolRule.g.cs b/src/libs/Letta/Generated/Letta.Models.ConditionalToolRule.g.cs index 183f982..1f82651 100644 --- a/src/libs/Letta/Generated/Letta.Models.ConditionalToolRule.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ConditionalToolRule.g.cs @@ -59,6 +59,9 @@ public sealed partial class ConditionalToolRule /// /// The name of the tool. Must exist in the database for the user's organization. /// + /// + /// The output case to check for mapping + /// /// /// Default Value: conditional /// @@ -68,9 +71,6 @@ public sealed partial class ConditionalToolRule /// /// The default child tool to be called. If None, any tool can be called. /// - /// - /// The output case to check for mapping - /// /// /// Whether to throw an error when output doesn't match any case
/// Default Value: false @@ -87,10 +87,10 @@ public ConditionalToolRule( bool? requireOutputMapping) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.ChildOutputMapping = childOutputMapping ?? throw new global::System.ArgumentNullException(nameof(childOutputMapping)); this.Type = type; this.PromptTemplate = promptTemplate; this.DefaultChild = defaultChild; + this.ChildOutputMapping = childOutputMapping ?? throw new global::System.ArgumentNullException(nameof(childOutputMapping)); this.RequireOutputMapping = requireOutputMapping; } diff --git a/src/libs/Letta/Generated/Letta.Models.ConditionalToolRuleSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.ConditionalToolRuleSchema.g.cs index 65308c9..29c1bed 100644 --- a/src/libs/Letta/Generated/Letta.Models.ConditionalToolRuleSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ConditionalToolRuleSchema.g.cs @@ -53,9 +53,9 @@ public sealed partial class ConditionalToolRuleSchema ///
/// /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,9 +68,9 @@ public ConditionalToolRuleSchema( { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); + this.DefaultChild = defaultChild; this.ChildOutputMapping = childOutputMapping ?? throw new global::System.ArgumentNullException(nameof(childOutputMapping)); this.RequireOutputMapping = requireOutputMapping; - this.DefaultChild = defaultChild; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ContextWindowOverview.g.cs b/src/libs/Letta/Generated/Letta.Models.ContextWindowOverview.g.cs index be5b8f4..b1c3661 100644 --- a/src/libs/Letta/Generated/Letta.Models.ContextWindowOverview.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ContextWindowOverview.g.cs @@ -206,6 +206,18 @@ public sealed partial class ContextWindowOverview /// /// The content of the core memory. /// + /// + /// The number of tokens in the summary memory. + /// + /// + /// The number of tokens in the functions definitions. + /// + /// + /// The number of tokens in the messages list. + /// + /// + /// The messages in the context window. + /// /// /// The number of tokens in the memory filesystem section (git-enabled agents only).
/// Default Value: 0 @@ -227,24 +239,12 @@ public sealed partial class ContextWindowOverview /// /// The content of the directories section. /// - /// - /// The number of tokens in the summary memory. - /// /// /// The content of the summary memory. /// - /// - /// The number of tokens in the functions definitions. - /// /// /// The content of the functions definitions. /// - /// - /// The number of tokens in the messages list. - /// - /// - /// The messages in the context window. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -284,18 +284,18 @@ public ContextWindowOverview( this.SystemPrompt = systemPrompt ?? throw new global::System.ArgumentNullException(nameof(systemPrompt)); this.NumTokensCoreMemory = numTokensCoreMemory; this.CoreMemory = coreMemory ?? throw new global::System.ArgumentNullException(nameof(coreMemory)); - this.NumTokensSummaryMemory = numTokensSummaryMemory; - this.NumTokensFunctionsDefinitions = numTokensFunctionsDefinitions; - this.NumTokensMessages = numTokensMessages; - this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); this.NumTokensMemoryFilesystem = numTokensMemoryFilesystem; this.MemoryFilesystem = memoryFilesystem; this.NumTokensToolUsageRules = numTokensToolUsageRules; this.ToolUsageRules = toolUsageRules; this.NumTokensDirectories = numTokensDirectories; this.Directories = directories; + this.NumTokensSummaryMemory = numTokensSummaryMemory; this.SummaryMemory = summaryMemory; + this.NumTokensFunctionsDefinitions = numTokensFunctionsDefinitions; this.FunctionsDefinitions = functionsDefinitions; + this.NumTokensMessages = numTokensMessages; + this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Conversation.g.cs b/src/libs/Letta/Generated/Letta.Models.Conversation.g.cs index 590b1b5..000384f 100644 --- a/src/libs/Letta/Generated/Letta.Models.Conversation.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Conversation.g.cs @@ -85,6 +85,12 @@ public sealed partial class Conversation /// /// Initializes a new instance of the class. /// + /// + /// The unique identifier of the conversation. + /// + /// + /// The ID of the agent this conversation belongs to. + /// /// /// The id of the user that made this object. /// @@ -97,12 +103,6 @@ public sealed partial class Conversation /// /// The timestamp when the object was last updated. /// - /// - /// The unique identifier of the conversation. - /// - /// - /// The ID of the agent this conversation belongs to. - /// /// /// A summary of the conversation. /// @@ -134,12 +134,12 @@ public Conversation( string? model, global::Letta.ModelSettingsVariant14? modelSettings) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Summary = summary; this.InContextMessageIds = inContextMessageIds; this.IsolatedBlockIds = isolatedBlockIds; diff --git a/src/libs/Letta/Generated/Letta.Models.CoreMemoryBlockSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.CoreMemoryBlockSchema.g.cs index d4761d4..5b2be3e 100644 --- a/src/libs/Letta/Generated/Letta.Models.CoreMemoryBlockSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CoreMemoryBlockSchema.g.cs @@ -78,14 +78,14 @@ public sealed partial class CoreMemoryBlockSchema /// Initializes a new instance of the class. /// /// - /// /// /// /// - /// - /// /// /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,14 +101,14 @@ public CoreMemoryBlockSchema( string? templateName) { this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Description = description; this.IsTemplate = isTemplate; this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Limit = limit; - this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Description = description; this.Metadata = metadata; this.TemplateName = templateName; + this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.CreateBlock.g.cs b/src/libs/Letta/Generated/Letta.Models.CreateBlock.g.cs index 7830bff..d69ead1 100644 --- a/src/libs/Letta/Generated/Letta.Models.CreateBlock.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CreateBlock.g.cs @@ -122,6 +122,9 @@ public sealed partial class CreateBlock /// /// Value of the block. /// + /// + /// Label of the block. + /// /// /// Character limit of the block.
/// Default Value: 100000 @@ -151,9 +154,6 @@ public sealed partial class CreateBlock /// Preserve the block on template migration.
/// Default Value: false /// - /// - /// Label of the block. - /// /// /// Whether the agent has read-only access to the block.
/// Default Value: false @@ -193,7 +193,6 @@ public CreateBlock( global::System.Collections.Generic.IList? tags) { this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Limit = limit; this.ProjectId = projectId; this.TemplateName = templateName; @@ -203,6 +202,7 @@ public CreateBlock( this.DeploymentId = deploymentId; this.EntityId = entityId; this.PreserveOnMigration = preserveOnMigration; + this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.ReadOnly = readOnly; this.Description = description; this.Metadata = metadata; diff --git a/src/libs/Letta/Generated/Letta.Models.CreateSSEMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.CreateSSEMCPServer.g.cs index e2e0d61..f4de08b 100644 --- a/src/libs/Letta/Generated/Letta.Models.CreateSSEMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CreateSSEMCPServer.g.cs @@ -48,12 +48,12 @@ public sealed partial class CreateSSEMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: sse - /// /// /// The URL of the server /// + /// + /// Default Value: sse + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -73,8 +73,8 @@ public CreateSSEMCPServer( string? authToken, global::System.Collections.Generic.Dictionary? customHeaders) { - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.McpServerType = mcpServerType; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; diff --git a/src/libs/Letta/Generated/Letta.Models.CreateStdioMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.CreateStdioMCPServer.g.cs index b9172ff..aa59bbb 100644 --- a/src/libs/Letta/Generated/Letta.Models.CreateStdioMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CreateStdioMCPServer.g.cs @@ -43,15 +43,15 @@ public sealed partial class CreateStdioMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: stdio - /// /// /// The command to run (MCP 'local' client will run this command) /// /// /// The arguments to pass to the command /// + /// + /// Default Value: stdio + /// /// /// Environment variables to set /// @@ -64,9 +64,9 @@ public CreateStdioMCPServer( string? mcpServerType, global::System.Collections.Generic.Dictionary? env) { + this.McpServerType = mcpServerType; this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); this.Args = args ?? throw new global::System.ArgumentNullException(nameof(args)); - this.McpServerType = mcpServerType; this.Env = env; } diff --git a/src/libs/Letta/Generated/Letta.Models.CreateStreamableHTTPMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.CreateStreamableHTTPMCPServer.g.cs index f59ef74..4de064a 100644 --- a/src/libs/Letta/Generated/Letta.Models.CreateStreamableHTTPMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.CreateStreamableHTTPMCPServer.g.cs @@ -48,12 +48,12 @@ public sealed partial class CreateStreamableHTTPMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: streamable_http - /// /// /// The URL of the server /// + /// + /// Default Value: streamable_http + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -73,8 +73,8 @@ public CreateStreamableHTTPMCPServer( string? authToken, global::System.Collections.Generic.Dictionary? customHeaders) { - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.McpServerType = mcpServerType; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; diff --git a/src/libs/Letta/Generated/Letta.Models.DeleteDeploymentResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.DeleteDeploymentResponse.g.cs index e358e5e..7cc72bd 100644 --- a/src/libs/Letta/Generated/Letta.Models.DeleteDeploymentResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.DeleteDeploymentResponse.g.cs @@ -42,6 +42,7 @@ public sealed partial class DeleteDeploymentResponse /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: [] /// @@ -51,7 +52,6 @@ public sealed partial class DeleteDeploymentResponse /// /// Default Value: [] /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -61,10 +61,10 @@ public DeleteDeploymentResponse( global::System.Collections.Generic.IList? deletedAgents, global::System.Collections.Generic.IList? deletedGroups) { - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.DeletedBlocks = deletedBlocks; this.DeletedAgents = deletedAgents; this.DeletedGroups = deletedGroups; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.DynamicManager.g.cs b/src/libs/Letta/Generated/Letta.Models.DynamicManager.g.cs index 8245471..ef08da0 100644 --- a/src/libs/Letta/Generated/Letta.Models.DynamicManager.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.DynamicManager.g.cs @@ -42,10 +42,10 @@ public sealed partial class DynamicManager /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: dynamic /// - /// /// /// Default Value: DONE! /// @@ -59,8 +59,8 @@ public DynamicManager( string? terminationToken, int? maxTurns) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.TerminationToken = terminationToken; this.MaxTurns = maxTurns; } diff --git a/src/libs/Letta/Generated/Letta.Models.DynamicManagerSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.DynamicManagerSchema.g.cs index a94e959..52ee6f4 100644 --- a/src/libs/Letta/Generated/Letta.Models.DynamicManagerSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.DynamicManagerSchema.g.cs @@ -42,10 +42,10 @@ public sealed partial class DynamicManagerSchema /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: dynamic /// - /// /// /// Default Value: DONE! /// @@ -59,8 +59,8 @@ public DynamicManagerSchema( string? terminationToken, int? maxTurns) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.TerminationToken = terminationToken; this.MaxTurns = maxTurns; } diff --git a/src/libs/Letta/Generated/Letta.Models.EmbeddingConfig.g.cs b/src/libs/Letta/Generated/Letta.Models.EmbeddingConfig.g.cs index 51f8a6d..d2f77eb 100644 --- a/src/libs/Letta/Generated/Letta.Models.EmbeddingConfig.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EmbeddingConfig.g.cs @@ -86,15 +86,15 @@ public sealed partial class EmbeddingConfig /// /// The endpoint type for the model. /// - /// - /// The endpoint for the model (`None` if local). - /// /// /// The model for the embedding. /// /// /// The dimension of the embedding. /// + /// + /// The endpoint for the model (`None` if local). + /// /// /// The chunk size of the embedding.
/// Default Value: 300 @@ -131,9 +131,9 @@ public EmbeddingConfig( string? azureDeployment) { this.EmbeddingEndpointType = embeddingEndpointType; + this.EmbeddingEndpoint = embeddingEndpoint; this.EmbeddingModel = embeddingModel ?? throw new global::System.ArgumentNullException(nameof(embeddingModel)); this.EmbeddingDim = embeddingDim; - this.EmbeddingEndpoint = embeddingEndpoint; this.EmbeddingChunkSize = embeddingChunkSize; this.Handle = handle; this.BatchSize = batchSize; diff --git a/src/libs/Letta/Generated/Letta.Models.EmbeddingModel.g.cs b/src/libs/Letta/Generated/Letta.Models.EmbeddingModel.g.cs index 774fa22..20d4d53 100644 --- a/src/libs/Letta/Generated/Letta.Models.EmbeddingModel.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EmbeddingModel.g.cs @@ -127,9 +127,6 @@ public sealed partial class EmbeddingModel /// /// Initializes a new instance of the class. /// - /// - /// The handle for this config, in the format provider/model-name. - /// /// /// The actual model name used by the provider /// @@ -142,10 +139,6 @@ public sealed partial class EmbeddingModel /// /// The name of the provider /// - /// - /// Type of model (llm or embedding)
- /// Default Value: embedding - /// /// /// Deprecated: Use 'provider_type' field instead. The endpoint type for the embedding model. /// @@ -155,6 +148,13 @@ public sealed partial class EmbeddingModel /// /// The dimension of the embedding /// + /// + /// The handle for this config, in the format provider/model-name. + /// + /// + /// Type of model (llm or embedding)
+ /// Default Value: embedding + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -169,15 +169,15 @@ public EmbeddingModel( string? handle, string? modelType) { + this.Handle = handle; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.DisplayName = displayName ?? throw new global::System.ArgumentNullException(nameof(displayName)); this.ProviderType = providerType; this.ProviderName = providerName ?? throw new global::System.ArgumentNullException(nameof(providerName)); + this.ModelType = modelType; this.EmbeddingEndpointType = embeddingEndpointType; this.EmbeddingModel1 = embeddingModel1 ?? throw new global::System.ArgumentNullException(nameof(embeddingModel1)); this.EmbeddingDim = embeddingDim; - this.Handle = handle; - this.ModelType = modelType; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsGetConnectionResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsGetConnectionResponse.g.cs index 1cf3906..4e66431 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsGetConnectionResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsGetConnectionResponse.g.cs @@ -109,17 +109,17 @@ public sealed partial class EnvironmentsGetConnectionResponse /// Initializes a new instance of the class. /// /// - /// /// /// /// + /// + /// + /// /// /// /// /// /// - /// - /// /// /// #if NET7_0_OR_GREATER @@ -142,17 +142,17 @@ public EnvironmentsGetConnectionResponse( global::Letta.EnvironmentsGetConnectionResponseMetadata? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.ConnectionId = connectionId; this.DeviceId = deviceId ?? throw new global::System.ArgumentNullException(nameof(deviceId)); this.ConnectionName = connectionName ?? throw new global::System.ArgumentNullException(nameof(connectionName)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); - this.LastSeenAt = lastSeenAt; - this.FirstSeenAt = firstSeenAt; - this.ConnectionId = connectionId; this.UserId = userId; this.ApiKeyOwner = apiKeyOwner; this.PodId = podId; this.ConnectedAt = connectedAt; this.LastHeartbeat = lastHeartbeat; + this.LastSeenAt = lastSeenAt; + this.FirstSeenAt = firstSeenAt; this.CurrentMode = currentMode; this.Metadata = metadata; } diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsListConnectionsResponseConnection.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsListConnectionsResponseConnection.g.cs index b74b8da..f3b6528 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsListConnectionsResponseConnection.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsListConnectionsResponseConnection.g.cs @@ -109,17 +109,17 @@ public sealed partial class EnvironmentsListConnectionsResponseConnection /// Initializes a new instance of the class. ///
/// - /// /// /// /// + /// + /// + /// /// /// /// /// /// - /// - /// /// /// #if NET7_0_OR_GREATER @@ -142,17 +142,17 @@ public EnvironmentsListConnectionsResponseConnection( global::Letta.EnvironmentsListConnectionsResponseConnectionMetadata? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.ConnectionId = connectionId; this.DeviceId = deviceId ?? throw new global::System.ArgumentNullException(nameof(deviceId)); this.ConnectionName = connectionName ?? throw new global::System.ArgumentNullException(nameof(connectionName)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); - this.LastSeenAt = lastSeenAt; - this.FirstSeenAt = firstSeenAt; - this.ConnectionId = connectionId; this.UserId = userId; this.ApiKeyOwner = apiKeyOwner; this.PodId = podId; this.ConnectedAt = connectedAt; this.LastHeartbeat = lastHeartbeat; + this.LastSeenAt = lastSeenAt; + this.FirstSeenAt = firstSeenAt; this.CurrentMode = currentMode; this.Metadata = metadata; } diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1.g.cs index 00efa8e..1cb7d26 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1.g.cs @@ -45,9 +45,9 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -58,9 +58,9 @@ public EnvironmentsSendMessageRequestMessageVariant1( global::Letta.EnvironmentsSendMessageRequestMessageVariant1Role role, string? otid) { + this.Role = role; this.Content = content; this.ClientMessageId = clientMessageId ?? throw new global::System.ArgumentNullException(nameof(clientMessageId)); - this.Role = role; this.Otid = otid; } diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1ContentVariant2Item.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1ContentVariant2Item.g.cs index 1ee2c97..da38475 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1ContentVariant2Item.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant1ContentVariant2Item.g.cs @@ -31,8 +31,8 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant1Content /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public EnvironmentsSendMessageRequestMessageVariant1ContentVariant2Item( string text, global::Letta.EnvironmentsSendMessageRequestMessageVariant1ContentVariant2ItemType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2.g.cs index 985c03e..17b1028 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public EnvironmentsSendMessageRequestMessageVariant2( global::System.Collections.Generic.IList> approvals, global::Letta.EnvironmentsSendMessageRequestMessageVariant2Type type) { - this.Approvals = approvals ?? throw new global::System.ArgumentNullException(nameof(approvals)); this.Type = type; + this.Approvals = approvals ?? throw new global::System.ArgumentNullException(nameof(approvals)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1.g.cs index 3732a08..4c56554 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1.g.cs @@ -59,10 +59,10 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant2Approva /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -76,10 +76,10 @@ public EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1( global::System.Collections.Generic.IList? stdout, global::System.Collections.Generic.IList? stderr) { + this.Type = type; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.ToolReturn = toolReturn; this.Status = status; - this.Type = type; this.Stdout = stdout; this.Stderr = stderr; } diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVariant2Item.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVariant2Item.g.cs index 70b15d1..6eca822 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVariant2Item.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVariant2Item.g.cs @@ -31,8 +31,8 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant2Approva /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVa string text, global::Letta.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant1ToolReturnVariant2ItemType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2.g.cs index 79ff120..ad0ff18 100644 --- a/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2.g.cs @@ -44,9 +44,9 @@ public sealed partial class EnvironmentsSendMessageRequestMessageVariant2Approva /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -57,9 +57,9 @@ public EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2( global::Letta.EnvironmentsSendMessageRequestMessageVariant2ApprovalVariant2Type? type, string? reason) { + this.Type = type; this.Approve = approve; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); - this.Type = type; this.Reason = reason; } diff --git a/src/libs/Letta/Generated/Letta.Models.EventMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.EventMessage.g.cs index 4d997e7..092c9af 100644 --- a/src/libs/Letta/Generated/Letta.Models.EventMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.EventMessage.g.cs @@ -95,6 +95,7 @@ public sealed partial class EventMessage /// /// /// + /// /// /// /// Default Value: event_message @@ -106,7 +107,6 @@ public sealed partial class EventMessage /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -126,7 +126,6 @@ public EventMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.EventData = eventData ?? throw new global::System.ArgumentNullException(nameof(eventData)); this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -136,6 +135,7 @@ public EventMessage( this.SeqId = seqId; this.RunId = runId; this.EventType = eventType; + this.EventData = eventData ?? throw new global::System.ArgumentNullException(nameof(eventData)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsCreateFeedResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsCreateFeedResponse.g.cs index 0d6cedc..6b7515d 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsCreateFeedResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsCreateFeedResponse.g.cs @@ -73,12 +73,12 @@ public sealed partial class FeedsCreateFeedResponse /// /// /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -94,12 +94,12 @@ public FeedsCreateFeedResponse( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Description = description; this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); + this.CreatedById = createdById; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; - this.CreatedById = createdById; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsGetFeedResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsGetFeedResponse.g.cs index 37ca7b7..121b5d5 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsGetFeedResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsGetFeedResponse.g.cs @@ -86,13 +86,13 @@ public sealed partial class FeedsGetFeedResponse /// /// /// - /// /// /// - /// /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -111,13 +111,13 @@ public FeedsGetFeedResponse( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Description = description; this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); + this.CreatedById = createdById; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); this.SubscriptionsCount = subscriptionsCount; - this.Description = description; - this.CreatedById = createdById; this.MessagesCount = messagesCount; } diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsListFeedsResponseFeed.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsListFeedsResponseFeed.g.cs index bc91f12..ca86106 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsListFeedsResponseFeed.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsListFeedsResponseFeed.g.cs @@ -74,12 +74,12 @@ public sealed partial class FeedsListFeedsResponseFeed /// /// /// - /// /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -95,12 +95,12 @@ public FeedsListFeedsResponseFeed( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Description = description; this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); this.SubscriptionsCount = subscriptionsCount; - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsListSubscriptionsResponseSubscription.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsListSubscriptionsResponseSubscription.g.cs index b016f85..361792d 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsListSubscriptionsResponseSubscription.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsListSubscriptionsResponseSubscription.g.cs @@ -108,16 +108,16 @@ public sealed partial class FeedsListSubscriptionsResponseSubscription /// /// /// - /// /// /// - /// /// /// - /// - /// /// /// + /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -139,16 +139,16 @@ public FeedsListSubscriptionsResponseSubscription( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); + this.AgentName = agentName; this.CronSchedule = cronSchedule ?? throw new global::System.ArgumentNullException(nameof(cronSchedule)); this.MergeStrategy = mergeStrategy; + this.PromptTemplate = promptTemplate; this.NextScheduledAt = nextScheduledAt ?? throw new global::System.ArgumentNullException(nameof(nextScheduledAt)); this.LastConsumedSequence = lastConsumedSequence; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.AgentName = agentName; - this.PromptTemplate = promptTemplate; this.LastConsumedAt = lastConsumedAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsSubscribeAgentResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsSubscribeAgentResponse.g.cs index 998618b..430cfac 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsSubscribeAgentResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsSubscribeAgentResponse.g.cs @@ -101,15 +101,15 @@ public sealed partial class FeedsSubscribeAgentResponse /// /// /// - /// /// /// - /// /// /// + /// + /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -130,15 +130,15 @@ public FeedsSubscribeAgentResponse( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); + this.AgentName = agentName; this.CronSchedule = cronSchedule ?? throw new global::System.ArgumentNullException(nameof(cronSchedule)); this.MergeStrategy = mergeStrategy; + this.PromptTemplate = promptTemplate; this.NextScheduledAt = nextScheduledAt ?? throw new global::System.ArgumentNullException(nameof(nextScheduledAt)); this.LastConsumedSequence = lastConsumedSequence; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.AgentName = agentName; - this.PromptTemplate = promptTemplate; this.LastConsumedAt = lastConsumedAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FeedsUpdateSubscriptionResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.FeedsUpdateSubscriptionResponse.g.cs index 4f46371..b6e9417 100644 --- a/src/libs/Letta/Generated/Letta.Models.FeedsUpdateSubscriptionResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FeedsUpdateSubscriptionResponse.g.cs @@ -108,16 +108,16 @@ public sealed partial class FeedsUpdateSubscriptionResponse /// /// /// - /// /// /// - /// /// /// - /// - /// /// /// + /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -139,16 +139,16 @@ public FeedsUpdateSubscriptionResponse( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); + this.AgentName = agentName; this.CronSchedule = cronSchedule ?? throw new global::System.ArgumentNullException(nameof(cronSchedule)); this.MergeStrategy = mergeStrategy; + this.PromptTemplate = promptTemplate; this.NextScheduledAt = nextScheduledAt ?? throw new global::System.ArgumentNullException(nameof(nextScheduledAt)); this.LastConsumedSequence = lastConsumedSequence; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.AgentName = agentName; - this.PromptTemplate = promptTemplate; this.LastConsumedAt = lastConsumedAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FileAgentSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.FileAgentSchema.g.cs index 8972213..dced0d5 100644 --- a/src/libs/Letta/Generated/Letta.Models.FileAgentSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FileAgentSchema.g.cs @@ -97,6 +97,9 @@ public sealed partial class FileAgentSchema /// /// Name of the file. /// + /// + /// Human-readable identifier for this file-agent relationship in the file + /// /// /// True if the agent currently has the file open.
/// Default Value: true @@ -113,9 +116,6 @@ public sealed partial class FileAgentSchema /// /// Ending line number (exclusive) when file was opened with line range. /// - /// - /// Human-readable identifier for this file-agent relationship in the file - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -135,12 +135,12 @@ public FileAgentSchema( this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.SourceId = sourceId ?? throw new global::System.ArgumentNullException(nameof(sourceId)); this.FileName = fileName ?? throw new global::System.ArgumentNullException(nameof(fileName)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.IsOpen = isOpen; this.VisibleContent = visibleContent; this.LastAccessedAt = lastAccessedAt; this.StartLine = startLine; this.EndLine = endLine; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.FileBlock.g.cs b/src/libs/Letta/Generated/Letta.Models.FileBlock.g.cs index 0108cde..8f5dce1 100644 --- a/src/libs/Letta/Generated/Letta.Models.FileBlock.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FileBlock.g.cs @@ -170,6 +170,15 @@ public sealed partial class FileBlock /// /// Value of the block. /// + /// + /// Unique identifier of the file. + /// + /// + /// Deprecated: Use `folder_id` field instead. Unique identifier of the source. + /// + /// + /// True if the agent currently has the file open. + /// /// /// Character limit of the block.
/// Default Value: 100000 @@ -230,15 +239,6 @@ public sealed partial class FileBlock /// The tags associated with the block.
/// Default Value: [] /// - /// - /// Unique identifier of the file. - /// - /// - /// Deprecated: Use `folder_id` field instead. Unique identifier of the source. - /// - /// - /// True if the agent currently has the file open. - /// /// /// UTC timestamp of the agent’s most recent access to this file. Any operations from the open, close, or search tools will update this field. /// @@ -271,9 +271,6 @@ public FileBlock( global::System.DateTime? lastAccessedAt) { this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); - this.SourceId = sourceId ?? throw new global::System.ArgumentNullException(nameof(sourceId)); - this.IsOpen = isOpen; this.Limit = limit; this.ProjectId = projectId; this.TemplateName = templateName; @@ -292,6 +289,9 @@ public FileBlock( this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.Tags = tags; + this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); + this.SourceId = sourceId ?? throw new global::System.ArgumentNullException(nameof(sourceId)); + this.IsOpen = isOpen; this.LastAccessedAt = lastAccessedAt; } diff --git a/src/libs/Letta/Generated/Letta.Models.FileSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.FileSchema.g.cs index 117b296..4a83a61 100644 --- a/src/libs/Letta/Generated/Letta.Models.FileSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.FileSchema.g.cs @@ -110,6 +110,9 @@ public sealed partial class FileSchema /// /// Deprecated: Use `folder_id` field instead. The unique identifier of the source associated with the document. /// + /// + /// Human-readable identifier for this file in the file + /// /// /// The name of the file. /// @@ -147,9 +150,6 @@ public sealed partial class FileSchema /// /// Optional full-text content of the file; only populated on demand due to its size. /// - /// - /// Human-readable identifier for this file in the file - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -170,7 +170,6 @@ public FileSchema( string? content) { this.SourceId = sourceId ?? throw new global::System.ArgumentNullException(nameof(sourceId)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.FileName = fileName; this.OriginalFileName = originalFileName; this.FilePath = filePath; @@ -183,6 +182,7 @@ public FileSchema( this.TotalChunks = totalChunks; this.ChunksEmbedded = chunksEmbedded; this.Content = content; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Folder.g.cs b/src/libs/Letta/Generated/Letta.Models.Folder.g.cs index f74157d..11cc803 100644 --- a/src/libs/Letta/Generated/Letta.Models.Folder.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Folder.g.cs @@ -82,6 +82,9 @@ public sealed partial class Folder /// /// The name of the folder. /// + /// + /// The embedding configuration used by the folder. + /// /// /// The description of the folder. /// @@ -94,9 +97,6 @@ public sealed partial class Folder /// /// The human-friendly ID of the Source /// - /// - /// The embedding configuration used by the folder. - /// /// /// The id of the user that made this Tool. /// @@ -125,11 +125,11 @@ public Folder( global::System.DateTime? updatedAt) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.EmbeddingConfig = embeddingConfig ?? throw new global::System.ArgumentNullException(nameof(embeddingConfig)); this.Description = description; this.Instructions = instructions; this.Metadata = metadata; this.Id = id; + this.EmbeddingConfig = embeddingConfig ?? throw new global::System.ArgumentNullException(nameof(embeddingConfig)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; diff --git a/src/libs/Letta/Generated/Letta.Models.GenerateToolInput.g.cs b/src/libs/Letta/Generated/Letta.Models.GenerateToolInput.g.cs index 01cbd15..f4a5cc1 100644 --- a/src/libs/Letta/Generated/Letta.Models.GenerateToolInput.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.GenerateToolInput.g.cs @@ -56,15 +56,15 @@ public sealed partial class GenerateToolInput /// /// User prompt to generate code /// + /// + /// List of validation errors + /// /// /// Handle of the tool to generate code for /// /// /// Python source code to parse for JSON schema /// - /// - /// List of validation errors - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,9 +77,9 @@ public GenerateToolInput( { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); - this.ValidationErrors = validationErrors ?? throw new global::System.ArgumentNullException(nameof(validationErrors)); this.Handle = handle; this.StarterCode = starterCode; + this.ValidationErrors = validationErrors ?? throw new global::System.ArgumentNullException(nameof(validationErrors)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.GroupSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.GroupSchema.g.cs index 13afe03..d3e3d73 100644 --- a/src/libs/Letta/Generated/Letta.Models.GroupSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.GroupSchema.g.cs @@ -68,6 +68,9 @@ public sealed partial class GroupSchema /// List of agent IDs in this group /// /// + /// + /// Human-readable identifier for this group in the file + /// /// /// Default Value: {"manager_type":"round_robin"} /// @@ -81,9 +84,6 @@ public sealed partial class GroupSchema /// /// If set to True, the group will be hidden. /// - /// - /// Human-readable identifier for this group in the file - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -98,11 +98,11 @@ public GroupSchema( { this.AgentIds = agentIds ?? throw new global::System.ArgumentNullException(nameof(agentIds)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ManagerConfig = managerConfig; this.ProjectId = projectId; this.SharedBlockIds = sharedBlockIds; this.Hidden = hidden; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.HiddenReasoningMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.HiddenReasoningMessage.g.cs index f908dbb..9072f6c 100644 --- a/src/libs/Letta/Generated/Letta.Models.HiddenReasoningMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.HiddenReasoningMessage.g.cs @@ -104,6 +104,7 @@ public sealed partial class HiddenReasoningMessage /// /// /// + /// /// /// /// The type of the message.
@@ -115,7 +116,6 @@ public sealed partial class HiddenReasoningMessage /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -136,7 +136,6 @@ public HiddenReasoningMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.State = state; this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -145,6 +144,7 @@ public HiddenReasoningMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.State = state; this.HiddenReasoning = hiddenReasoning; } diff --git a/src/libs/Letta/Generated/Letta.Models.Identity.g.cs b/src/libs/Letta/Generated/Letta.Models.Identity.g.cs index 3086719..31c2d25 100644 --- a/src/libs/Letta/Generated/Letta.Models.Identity.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Identity.g.cs @@ -73,9 +73,6 @@ public sealed partial class Identity /// /// Initializes a new instance of the class. /// - /// - /// The human-friendly ID of the Identity - /// /// /// External, user-generated identifier key of the identity. /// @@ -85,15 +82,18 @@ public sealed partial class Identity /// /// The type of the identity. /// - /// - /// The project id of the identity, if applicable. - /// /// /// The IDs of the agents associated with the identity. /// /// /// The IDs of the blocks associated with the identity. /// + /// + /// The human-friendly ID of the Identity + /// + /// + /// The project id of the identity, if applicable. + /// /// /// List of properties associated with the identity /// @@ -110,13 +110,13 @@ public Identity( string? projectId, global::System.Collections.Generic.IList? properties) { + this.Id = id; this.IdentifierKey = identifierKey ?? throw new global::System.ArgumentNullException(nameof(identifierKey)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.IdentityType = identityType; + this.ProjectId = projectId; this.AgentIds = agentIds ?? throw new global::System.ArgumentNullException(nameof(agentIds)); this.BlockIds = blockIds ?? throw new global::System.ArgumentNullException(nameof(blockIds)); - this.Id = id; - this.ProjectId = projectId; this.Properties = properties; } diff --git a/src/libs/Letta/Generated/Letta.Models.ImageContent.g.cs b/src/libs/Letta/Generated/Letta.Models.ImageContent.g.cs index cd696fb..ea147ed 100644 --- a/src/libs/Letta/Generated/Letta.Models.ImageContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ImageContent.g.cs @@ -32,13 +32,13 @@ public sealed partial class ImageContent /// /// Initializes a new instance of the class. /// + /// + /// The source of the image. + /// /// /// The type of the message.
/// Default Value: image /// - /// - /// The source of the image. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -46,8 +46,8 @@ public ImageContent( global::Letta.Source source, string? type) { - this.Source = source; this.Type = type; + this.Source = source; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.InternalTemplateAgentCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.InternalTemplateAgentCreate.g.cs index b7ceb88..cb3f725 100644 --- a/src/libs/Letta/Generated/Letta.Models.InternalTemplateAgentCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.InternalTemplateAgentCreate.g.cs @@ -349,6 +349,18 @@ public sealed partial class InternalTemplateAgentCreate /// /// Initializes a new instance of the class. /// + /// + /// The id of the template. + /// + /// + /// The id of the base template. + /// + /// + /// The id of the deployment. + /// + /// + /// The id of the entity within the template. + /// /// /// The name of the agent. /// @@ -417,12 +429,6 @@ public sealed partial class InternalTemplateAgentCreate /// /// The environment variables for tool execution specific to this agent. /// - /// - /// The id of the template. - /// - /// - /// The id of the base template. - /// /// /// The ids of the identities associated with this agent. /// @@ -442,12 +448,6 @@ public sealed partial class InternalTemplateAgentCreate /// /// The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. /// - /// - /// The id of the deployment. - /// - /// - /// The id of the entity within the template. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -485,10 +485,6 @@ public InternalTemplateAgentCreate( int? maxFilesOpen, int? perFileViewWindowCharLimit) { - this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); - this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); - this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); - this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); this.Name = name; this.MemoryBlocks = memoryBlocks; this.Tools = tools; @@ -511,12 +507,16 @@ public InternalTemplateAgentCreate( this.CompactionSettings = compactionSettings; this.ContextWindowLimit = contextWindowLimit; this.Secrets = secrets; + this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); + this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); this.IdentityIds = identityIds; this.MessageBufferAutoclear = messageBufferAutoclear; this.EnableSleeptime = enableSleeptime; this.Timezone = timezone; this.MaxFilesOpen = maxFilesOpen; this.PerFileViewWindowCharLimit = perFileViewWindowCharLimit; + this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); + this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.InternalTemplateBlockCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.InternalTemplateBlockCreate.g.cs index 5a89ab7..5da7d19 100644 --- a/src/libs/Letta/Generated/Letta.Models.InternalTemplateBlockCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.InternalTemplateBlockCreate.g.cs @@ -126,6 +126,21 @@ public sealed partial class InternalTemplateBlockCreate /// /// Value of the block. /// + /// + /// The id of the template. + /// + /// + /// The id of the base template. + /// + /// + /// The id of the deployment. + /// + /// + /// The id of the entity within the template. + /// + /// + /// Label of the block. + /// /// /// Character limit of the block.
/// Default Value: 100000 @@ -139,25 +154,10 @@ public sealed partial class InternalTemplateBlockCreate /// /// Default Value: false /// - /// - /// The id of the template. - /// - /// - /// The id of the base template. - /// - /// - /// The id of the deployment. - /// - /// - /// The id of the entity within the template. - /// /// /// Preserve the block on template migration.
/// Default Value: false /// - /// - /// Label of the block. - /// /// /// Whether the agent has read-only access to the block.
/// Default Value: false @@ -197,16 +197,16 @@ public InternalTemplateBlockCreate( global::System.Collections.Generic.IList? tags) { this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); - this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); - this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); - this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); - this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Limit = limit; this.ProjectId = projectId; this.TemplateName = templateName; this.IsTemplate = isTemplate; + this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); + this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); + this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); + this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); this.PreserveOnMigration = preserveOnMigration; + this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.ReadOnly = readOnly; this.Description = description; this.Metadata = metadata; diff --git a/src/libs/Letta/Generated/Letta.Models.InternalTemplateGroupCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.InternalTemplateGroupCreate.g.cs index 8a729b0..1629164 100644 --- a/src/libs/Letta/Generated/Letta.Models.InternalTemplateGroupCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.InternalTemplateGroupCreate.g.cs @@ -82,15 +82,6 @@ public sealed partial class InternalTemplateGroupCreate ///
/// /// - /// - /// Default Value: {"manager_type":"round_robin"} - /// - /// - /// The associated project id. - /// - /// - /// If set to True, the group will be hidden. - /// /// /// The id of the base template. /// @@ -100,6 +91,15 @@ public sealed partial class InternalTemplateGroupCreate /// /// The id of the deployment. /// + /// + /// Default Value: {"manager_type":"round_robin"} + /// + /// + /// The associated project id. + /// + /// + /// If set to True, the group will be hidden. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -115,12 +115,12 @@ public InternalTemplateGroupCreate( { this.AgentIds = agentIds ?? throw new global::System.ArgumentNullException(nameof(agentIds)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); - this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); - this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); - this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); this.ManagerConfig = managerConfig; this.ProjectId = projectId; this.Hidden = hidden; + this.BaseTemplateId = baseTemplateId ?? throw new global::System.ArgumentNullException(nameof(baseTemplateId)); + this.TemplateId = templateId ?? throw new global::System.ArgumentNullException(nameof(templateId)); + this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.JsonSchemaResponseFormat.g.cs b/src/libs/Letta/Generated/Letta.Models.JsonSchemaResponseFormat.g.cs index 8e9b6f6..38e9a93 100644 --- a/src/libs/Letta/Generated/Letta.Models.JsonSchemaResponseFormat.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.JsonSchemaResponseFormat.g.cs @@ -31,13 +31,13 @@ public sealed partial class JsonSchemaResponseFormat /// /// Initializes a new instance of the class. /// + /// + /// The JSON schema of the response. + /// /// /// The type of the response format.
/// Default Value: json_schema /// - /// - /// The JSON schema of the response. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public JsonSchemaResponseFormat( object jsonSchema, string? type) { - this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); this.Type = type; + this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LLMConfig.g.cs b/src/libs/Letta/Generated/Letta.Models.LLMConfig.g.cs index 77e02dc..f049838 100644 --- a/src/libs/Letta/Generated/Letta.Models.LLMConfig.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LLMConfig.g.cs @@ -195,12 +195,15 @@ public sealed partial class LLMConfig /// /// LLM model name. /// - /// - /// A human-friendly display name for the model. - /// /// /// The endpoint type for the model. /// + /// + /// The context window size for the model. + /// + /// + /// A human-friendly display name for the model. + /// /// /// The endpoint for the model. /// @@ -213,9 +216,6 @@ public sealed partial class LLMConfig /// /// The wrapper for the model. /// - /// - /// The context window size for the model. - /// /// /// Puts 'inner_thoughts' as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
/// Default Value: false @@ -305,13 +305,13 @@ public LLMConfig( bool? returnTokenIds) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.ModelEndpointType = modelEndpointType; - this.ContextWindow = contextWindow; this.DisplayName = displayName; + this.ModelEndpointType = modelEndpointType; this.ModelEndpoint = modelEndpoint; this.ProviderName = providerName; this.ProviderCategory = providerCategory; this.ModelWrapper = modelWrapper; + this.ContextWindow = contextWindow; this.PutInnerThoughtsInKwargs = putInnerThoughtsInKwargs; this.Handle = handle; this.Temperature = temperature; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaBatchRequest.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaBatchRequest.g.cs index 2ff12d6..78cebac 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaBatchRequest.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaBatchRequest.g.cs @@ -123,6 +123,9 @@ public sealed partial class LettaBatchRequest /// /// Initializes a new instance of the class. /// + /// + /// The ID of the agent to send this batch request for + /// /// /// The messages to be sent to the agent. /// @@ -157,9 +160,6 @@ public sealed partial class LettaBatchRequest /// If True, returns token IDs and logprobs for ALL LLM generations in the agent step, not just the last one. Uses SGLang native /generate endpoint. Returns 'turns' field with TurnTokenData for each assistant/tool turn. Required for proper multi-turn RL training with loss masking.
/// Default Value: false /// - /// - /// The ID of the agent to send this batch request for - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -176,7 +176,6 @@ public LettaBatchRequest( int? topLogprobs, bool? returnTokenIds) { - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Messages = messages; this.Input = input; this.MaxSteps = maxSteps; @@ -187,6 +186,7 @@ public LettaBatchRequest( this.ReturnLogprobs = returnLogprobs; this.TopLogprobs = topLogprobs; this.ReturnTokenIds = returnTokenIds; + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LettaErrorMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaErrorMessage.g.cs index 676b6a1..5d947ed 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaErrorMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaErrorMessage.g.cs @@ -58,10 +58,6 @@ public sealed partial class LettaErrorMessage /// /// Initializes a new instance of the class. /// - /// - /// The type of the message.
- /// Default Value: error_message - /// /// /// The ID of the run. /// @@ -77,6 +73,10 @@ public sealed partial class LettaErrorMessage /// /// The sequence ID for cursor-based pagination. /// + /// + /// The type of the message.
+ /// Default Value: error_message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,10 +88,10 @@ public LettaErrorMessage( int? seqId, string messageType = "error_message") { + this.MessageType = messageType; this.RunId = runId ?? throw new global::System.ArgumentNullException(nameof(runId)); this.ErrorType = errorType ?? throw new global::System.ArgumentNullException(nameof(errorType)); this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.MessageType = messageType; this.Detail = detail; this.SeqId = seqId; } diff --git a/src/libs/Letta/Generated/Letta.Models.LettaImage.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaImage.g.cs index fe582c6..aad6916 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaImage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaImage.g.cs @@ -49,13 +49,13 @@ public sealed partial class LettaImage /// /// Initializes a new instance of the class. /// + /// + /// The unique identifier of the image file persisted in storage. + /// /// /// The source type for the image.
/// Default Value: letta /// - /// - /// The unique identifier of the image file persisted in storage. - /// /// /// The media type for the image. /// @@ -75,8 +75,8 @@ public LettaImage( string? data, string? detail) { - this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Type = type; + this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.MediaType = mediaType; this.Data = data; this.Detail = detail; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileAgentSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileAgentSchema.g.cs index cb560d4..6482091 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileAgentSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileAgentSchema.g.cs @@ -365,6 +365,9 @@ public sealed partial class LettaSchemasAgentFileAgentSchema /// /// Initializes a new instance of the class. /// + /// + /// Human-readable identifier for this agent in the file + /// /// /// The name of the agent. /// @@ -455,9 +458,6 @@ public sealed partial class LettaSchemasAgentFileAgentSchema /// /// The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. /// - /// - /// Human-readable identifier for this agent in the file - /// /// /// List of message IDs that are currently in the agent's context /// @@ -509,7 +509,6 @@ public LettaSchemasAgentFileAgentSchema( global::System.Collections.Generic.IList? filesAgents, global::System.Collections.Generic.IList? groupIds) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name; this.MemoryBlocks = memoryBlocks; this.Tools = tools; @@ -539,6 +538,7 @@ public LettaSchemasAgentFileAgentSchema( this.Timezone = timezone; this.MaxFilesOpen = maxFilesOpen; this.PerFileViewWindowCharLimit = perFileViewWindowCharLimit; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.InContextMessageIds = inContextMessageIds; this.Messages = messages; this.FilesAgents = filesAgents; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileMessageSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileMessageSchema.g.cs index d7180de..2c83c00 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileMessageSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasAgentFileMessageSchema.g.cs @@ -137,16 +137,19 @@ public sealed partial class LettaSchemasAgentFileMessageSchema /// /// Initializes a new instance of the class. /// - /// - /// The message type to be created.
- /// Default Value: message - /// /// /// The role of the participant. /// /// /// The content of the message. /// + /// + /// Human-readable identifier for this message in the file + /// + /// + /// The message type to be created.
+ /// Default Value: message + /// /// /// The name of the participant. /// @@ -162,9 +165,6 @@ public sealed partial class LettaSchemasAgentFileMessageSchema /// /// The multi-agent group that the message was sent in /// - /// - /// Human-readable identifier for this message in the file - /// /// /// The model used to make the function call /// @@ -219,15 +219,15 @@ public LettaSchemasAgentFileMessageSchema( string? denialReason, global::System.Collections.Generic.IList>? approvals) { + this.Type = type; this.Role = role; this.Content = content; - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Type = type; this.Name = name; this.Otid = otid; this.SenderId = senderId; this.BatchItemId = batchItemId; this.GroupId = groupId; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Model = model; this.AgentId = agentId; this.ToolCalls = toolCalls; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasLettaMessageToolReturn.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasLettaMessageToolReturn.g.cs index ef9fcc6..370680b 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasLettaMessageToolReturn.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasLettaMessageToolReturn.g.cs @@ -59,15 +59,15 @@ public sealed partial class LettaSchemasLettaMessageToolReturn /// /// Initializes a new instance of the class. /// - /// - /// The message type to be created.
- /// Default Value: tool - /// /// /// The tool return value - either a string or list of content parts (text/image) /// /// /// + /// + /// The message type to be created.
+ /// Default Value: tool + /// /// /// #if NET7_0_OR_GREATER @@ -81,10 +81,10 @@ public LettaSchemasLettaMessageToolReturn( global::System.Collections.Generic.IList? stdout, global::System.Collections.Generic.IList? stderr) { + this.Type = type; this.ToolReturn = toolReturn; this.Status = status; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); - this.Type = type; this.Stdout = stdout; this.Stderr = stderr; } diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnInput.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnInput.g.cs index e4a4bcc..a5703b5 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnInput.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnInput.g.cs @@ -50,12 +50,12 @@ public sealed partial class LettaSchemasMessageToolReturnInput /// /// Initializes a new instance of the class. /// - /// - /// The ID for the tool call - /// /// /// The status of the tool call /// + /// + /// The ID for the tool call + /// /// /// Captured stdout (e.g. prints, logs) from the tool invocation /// @@ -75,8 +75,8 @@ public LettaSchemasMessageToolReturnInput( global::System.Collections.Generic.IList? stderr, global::Letta.AnyOf, object>? funcResponse) { - this.Status = status; this.ToolCallId = toolCallId; + this.Status = status; this.Stdout = stdout; this.Stderr = stderr; this.FuncResponse = funcResponse; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnOutput.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnOutput.g.cs index 84962d9..56f066a 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnOutput.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasMessageToolReturnOutput.g.cs @@ -50,12 +50,12 @@ public sealed partial class LettaSchemasMessageToolReturnOutput /// /// Initializes a new instance of the class. /// - /// - /// The ID for the tool call - /// /// /// The status of the tool call /// + /// + /// The ID for the tool call + /// /// /// Captured stdout (e.g. prints, logs) from the tool invocation /// @@ -75,8 +75,8 @@ public LettaSchemasMessageToolReturnOutput( global::System.Collections.Generic.IList? stderr, global::Letta.AnyOf, object>? funcResponse) { - this.Status = status; this.ToolCallId = toolCallId; + this.Status = status; this.Stdout = stdout; this.Stderr = stderr; this.FuncResponse = funcResponse; diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseChatCompletionTokenLogprob.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseChatCompletionTokenLogprob.g.cs index 1370a8c..191757c 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseChatCompletionTokenLogprob.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseChatCompletionTokenLogprob.g.cs @@ -45,9 +45,9 @@ public sealed partial class LettaSchemasOpenaiChatCompletionResponseChatCompleti /// Initializes a new instance of the class. ///
/// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public LettaSchemasOpenaiChatCompletionResponseChatCompletionTokenLogprob( global::System.Collections.Generic.IList? bytes) { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); + this.Bytes = bytes; this.Logprob = logprob; this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); - this.Bytes = bytes; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseTopLogprob.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseTopLogprob.g.cs index 6ca8536..b850642 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseTopLogprob.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSchemasOpenaiChatCompletionResponseTopLogprob.g.cs @@ -38,8 +38,8 @@ public sealed partial class LettaSchemasOpenaiChatCompletionResponseTopLogprob /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public LettaSchemasOpenaiChatCompletionResponseTopLogprob( global::System.Collections.Generic.IList? bytes) { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); - this.Logprob = logprob; this.Bytes = bytes; + this.Logprob = logprob; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaAgentSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaAgentSchema.g.cs index d46a826..6fe8fc9 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaAgentSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaAgentSchema.g.cs @@ -154,7 +154,6 @@ public sealed partial class LettaSerializeSchemasPydanticAgentSchemaAgentSchema /// /// /// - /// /// /// Configuration for embedding model connection and processing parameters. /// @@ -168,8 +167,6 @@ public sealed partial class LettaSerializeSchemasPydanticAgentSchemaAgentSchema /// /// /// - /// - /// /// /// /// @@ -178,6 +175,9 @@ public sealed partial class LettaSerializeSchemasPydanticAgentSchemaAgentSchema /// /// /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -205,11 +205,14 @@ public LettaSerializeSchemasPydanticAgentSchemaAgentSchema( this.AgentType = agentType ?? throw new global::System.ArgumentNullException(nameof(agentType)); this.CoreMemory = coreMemory ?? throw new global::System.ArgumentNullException(nameof(coreMemory)); this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Description = description; this.EmbeddingConfig = embeddingConfig ?? throw new global::System.ArgumentNullException(nameof(embeddingConfig)); this.LlmConfig = llmConfig ?? throw new global::System.ArgumentNullException(nameof(llmConfig)); this.MessageBufferAutoclear = messageBufferAutoclear; this.InContextMessageIndices = inContextMessageIndices ?? throw new global::System.ArgumentNullException(nameof(inContextMessageIndices)); this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); + this.Metadata = metadata; + this.MultiAgentGroup = multiAgentGroup; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.System = system ?? throw new global::System.ArgumentNullException(nameof(system)); this.Tags = tags ?? throw new global::System.ArgumentNullException(nameof(tags)); @@ -218,9 +221,6 @@ public LettaSerializeSchemasPydanticAgentSchemaAgentSchema( this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); this.Version = version ?? throw new global::System.ArgumentNullException(nameof(version)); - this.Description = description; - this.Metadata = metadata; - this.MultiAgentGroup = multiAgentGroup; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaMessageSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaMessageSchema.g.cs index ebf387e..e2fc1fd 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaMessageSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaMessageSchema.g.cs @@ -84,15 +84,15 @@ public sealed partial class LettaSerializeSchemasPydanticAgentSchemaMessageSchem /// Initializes a new instance of the class. /// /// - /// - /// - /// /// /// - /// /// /// /// + /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -109,15 +109,15 @@ public LettaSerializeSchemasPydanticAgentSchemaMessageSchema( string? toolCallId) { this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.GroupId = groupId; + this.Model = model; + this.Name = name; this.Role = role ?? throw new global::System.ArgumentNullException(nameof(role)); this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + this.ToolCallId = toolCallId; this.ToolCalls = toolCalls ?? throw new global::System.ArgumentNullException(nameof(toolCalls)); this.ToolReturns = toolReturns ?? throw new global::System.ArgumentNullException(nameof(toolReturns)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.GroupId = groupId; - this.Model = model; - this.Name = name; - this.ToolCallId = toolCallId; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaToolSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaToolSchema.g.cs index 9588664..6bc3aaa 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaToolSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaSerializeSchemasPydanticAgentSchemaToolSchema.g.cs @@ -98,17 +98,17 @@ public sealed partial class LettaSerializeSchemasPydanticAgentSchemaToolSchema /// /// Initializes a new instance of the class. /// - /// /// /// /// /// /// - /// /// /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -127,17 +127,17 @@ public LettaSerializeSchemasPydanticAgentSchemaToolSchema( string? sourceCode, object? metadata) { + this.ArgsJsonSchema = argsJsonSchema; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.ReturnCharLimit = returnCharLimit; + this.SourceCode = sourceCode; this.SourceType = sourceType ?? throw new global::System.ArgumentNullException(nameof(sourceType)); this.Tags = tags ?? throw new global::System.ArgumentNullException(nameof(tags)); this.ToolType = toolType ?? throw new global::System.ArgumentNullException(nameof(toolType)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.ArgsJsonSchema = argsJsonSchema; - this.SourceCode = sourceCode; this.Metadata = metadata; } diff --git a/src/libs/Letta/Generated/Letta.Models.LettaStopReason.g.cs b/src/libs/Letta/Generated/Letta.Models.LettaStopReason.g.cs index 28c7712..fba2e26 100644 --- a/src/libs/Letta/Generated/Letta.Models.LettaStopReason.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.LettaStopReason.g.cs @@ -32,13 +32,13 @@ public sealed partial class LettaStopReason /// /// Initializes a new instance of the class. /// + /// + /// The reason why execution stopped. + /// /// /// The type of the message.
/// Default Value: stop_reason /// - /// - /// The reason why execution stopped. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -46,8 +46,8 @@ public LettaStopReason( global::Letta.StopReasonType stopReason, string? messageType) { - this.StopReason = stopReason; this.MessageType = messageType; + this.StopReason = stopReason; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ListDeploymentEntitiesResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.ListDeploymentEntitiesResponse.g.cs index 3763b0f..6f8f6ba 100644 --- a/src/libs/Letta/Generated/Letta.Models.ListDeploymentEntitiesResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ListDeploymentEntitiesResponse.g.cs @@ -44,12 +44,12 @@ public sealed partial class ListDeploymentEntitiesResponse /// /// Initializes a new instance of the class. /// - /// - /// Default Value: [] - /// /// /// /// + /// + /// Default Value: [] + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,10 +59,10 @@ public ListDeploymentEntitiesResponse( string message, global::System.Collections.Generic.IList? entities) { + this.Entities = entities; this.TotalCount = totalCount; this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.Entities = entities; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MCPTool.g.cs b/src/libs/Letta/Generated/Letta.Models.MCPTool.g.cs index bc0aa22..bd32257 100644 --- a/src/libs/Letta/Generated/Letta.Models.MCPTool.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MCPTool.g.cs @@ -68,9 +68,9 @@ public sealed partial class MCPTool /// Initializes a new instance of the class. /// /// + /// /// /// - /// /// /// /// @@ -91,9 +91,9 @@ public MCPTool( global::Letta.MCPToolHealth2? health) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Title = title; this.Description = description; + this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.OutputSchema = outputSchema; this.Annotations = annotations; this.Meta = meta; diff --git a/src/libs/Letta/Generated/Letta.Models.MaxCountPerStepToolRule.g.cs b/src/libs/Letta/Generated/Letta.Models.MaxCountPerStepToolRule.g.cs index cbcb4fe..1ac2a5a 100644 --- a/src/libs/Letta/Generated/Letta.Models.MaxCountPerStepToolRule.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MaxCountPerStepToolRule.g.cs @@ -46,15 +46,15 @@ public sealed partial class MaxCountPerStepToolRule /// /// The name of the tool. Must exist in the database for the user's organization. /// + /// + /// The max limit for the total number of times this tool can be invoked in a single step. + /// /// /// Default Value: max_count_per_step /// /// /// Optional template string (ignored). /// - /// - /// The max limit for the total number of times this tool can be invoked in a single step. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,9 +65,9 @@ public MaxCountPerStepToolRule( string? promptTemplate) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.MaxCountLimit = maxCountLimit; this.Type = type; this.PromptTemplate = promptTemplate; + this.MaxCountLimit = maxCountLimit; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Memory.g.cs b/src/libs/Letta/Generated/Letta.Models.Memory.g.cs index a8e7908..66cb0e1 100644 --- a/src/libs/Letta/Generated/Letta.Models.Memory.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Memory.g.cs @@ -50,6 +50,9 @@ public sealed partial class Memory /// /// Initializes a new instance of the class. /// + /// + /// Memory blocks contained in the agent's in-context memory + /// /// /// Agent type controlling prompt rendering. /// @@ -57,9 +60,6 @@ public sealed partial class Memory /// Whether this agent uses git-backed memory with structured labels.
/// Default Value: false /// - /// - /// Memory blocks contained in the agent's in-context memory - /// /// /// Special blocks representing the agent's in-context memory of an attached file /// @@ -76,9 +76,9 @@ public Memory( global::System.Collections.Generic.IList? fileBlocks, string? promptTemplate) { - this.Blocks = blocks ?? throw new global::System.ArgumentNullException(nameof(blocks)); this.AgentType = agentType; this.GitEnabled = gitEnabled; + this.Blocks = blocks ?? throw new global::System.ArgumentNullException(nameof(blocks)); this.FileBlocks = fileBlocks; this.PromptTemplate = promptTemplate; } diff --git a/src/libs/Letta/Generated/Letta.Models.Message.g.cs b/src/libs/Letta/Generated/Letta.Models.Message.g.cs index fea9df6..09c82d3 100644 --- a/src/libs/Letta/Generated/Letta.Models.Message.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Message.g.cs @@ -187,6 +187,9 @@ public sealed partial class Message /// /// Initializes a new instance of the class. /// + /// + /// The role of the participant. + /// /// /// The id of the user that made this object. /// @@ -208,9 +211,6 @@ public sealed partial class Message /// /// The model used to make the function call. /// - /// - /// The role of the participant. - /// /// /// The content of the message. /// @@ -292,7 +292,6 @@ public Message( string? denialReason, global::System.Collections.Generic.IList>? approvals) { - this.Role = role; this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; @@ -300,6 +299,7 @@ public Message( this.Id = id; this.AgentId = agentId; this.Model = model; + this.Role = role; this.Content = content; this.Name = name; this.ToolCalls = toolCalls; diff --git a/src/libs/Letta/Generated/Letta.Models.MessageCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.MessageCreate.g.cs index 8163def..a1e4406 100644 --- a/src/libs/Letta/Generated/Letta.Models.MessageCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MessageCreate.g.cs @@ -70,16 +70,16 @@ public sealed partial class MessageCreate /// /// Initializes a new instance of the class. /// - /// - /// The message type to be created.
- /// Default Value: message - /// /// /// The role of the participant. /// /// /// The content of the message. /// + /// + /// The message type to be created.
+ /// Default Value: message + /// /// /// The name of the participant. /// @@ -108,9 +108,9 @@ public MessageCreate( string? batchItemId, string? groupId) { + this.Type = type; this.Role = role; this.Content = content; - this.Type = type; this.Name = name; this.Otid = otid; this.SenderId = senderId; diff --git a/src/libs/Letta/Generated/Letta.Models.MessageSearchResult.g.cs b/src/libs/Letta/Generated/Letta.Models.MessageSearchResult.g.cs index 182699b..31c9fd8 100644 --- a/src/libs/Letta/Generated/Letta.Models.MessageSearchResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MessageSearchResult.g.cs @@ -56,15 +56,15 @@ public sealed partial class MessageSearchResult /// /// The raw message object /// + /// + /// Reciprocal Rank Fusion combined score + /// /// /// Full-text search rank position if FTS was used /// /// /// Vector search rank position if vector search was used /// - /// - /// Reciprocal Rank Fusion combined score - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,9 +77,9 @@ public MessageSearchResult( { this.EmbeddedText = embeddedText ?? throw new global::System.ArgumentNullException(nameof(embeddedText)); this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.RrfScore = rrfScore; this.FtsRank = ftsRank; this.VectorRank = vectorRank; + this.RrfScore = rrfScore; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequest.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequest.g.cs index 1814c9c..07c6074 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequest.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequest.g.cs @@ -31,8 +31,8 @@ public sealed partial class MetadataSendTelemetryRequest /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MetadataSendTelemetryRequest( global::System.Collections.Generic.IList events, global::Letta.MetadataSendTelemetryRequestService service) { - this.Events = events ?? throw new global::System.ArgumentNullException(nameof(events)); this.Service = service; + this.Events = events ?? throw new global::System.ArgumentNullException(nameof(events)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1.g.cs index 1558795..a8fd2c2 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1.g.cs @@ -38,9 +38,9 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MetadataSendTelemetryRequestEventVariant1( global::Letta.MetadataSendTelemetryRequestEventVariant1Data data, global::Letta.MetadataSendTelemetryRequestEventVariant1Type type) { + this.Type = type; this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1Data.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1Data.g.cs index 0fbfef2..2bc3a08 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1Data.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant1Data.g.cs @@ -56,8 +56,8 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant1Data /// Initializes a new instance of the class. /// /// - /// /// + /// /// /// /// @@ -73,8 +73,8 @@ public MetadataSendTelemetryRequestEventVariant1Data( string? nodeVersion) { this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); - this.StartupCommand = startupCommand ?? throw new global::System.ArgumentNullException(nameof(startupCommand)); this.AgentId = agentId; + this.StartupCommand = startupCommand ?? throw new global::System.ArgumentNullException(nameof(startupCommand)); this.Version = version; this.Platform = platform; this.NodeVersion = nodeVersion; diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2.g.cs index 6072f14..9b453c0 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2.g.cs @@ -38,9 +38,9 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MetadataSendTelemetryRequestEventVariant2( global::Letta.MetadataSendTelemetryRequestEventVariant2Data data, global::Letta.MetadataSendTelemetryRequestEventVariant2Type type) { + this.Type = type; this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2Data.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2Data.g.cs index 521fa3e..eec5f5c 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2Data.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant2Data.g.cs @@ -106,10 +106,10 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant2Data /// Initializes a new instance of the class. /// /// - /// /// /// /// + /// /// /// /// @@ -139,10 +139,10 @@ public MetadataSendTelemetryRequestEventVariant2Data( double? stepCount) { this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); + this.AgentId = agentId; this.Duration = duration; this.MessageCount = messageCount; this.ToolCallCount = toolCallCount; - this.AgentId = agentId; this.ExitReason = exitReason; this.TotalApiMs = totalApiMs; this.TotalWallMs = totalWallMs; diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3.g.cs index e94cf35..28221e6 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3.g.cs @@ -38,9 +38,9 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant3 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MetadataSendTelemetryRequestEventVariant3( global::Letta.MetadataSendTelemetryRequestEventVariant3Data data, global::Letta.MetadataSendTelemetryRequestEventVariant3Type type) { + this.Type = type; this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3Data.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3Data.g.cs index 7d85609..cb1773f 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3Data.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant3Data.g.cs @@ -70,10 +70,10 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant3Data /// Initializes a new instance of the class. /// /// - /// /// /// /// + /// /// /// /// @@ -91,10 +91,10 @@ public MetadataSendTelemetryRequestEventVariant3Data( string? stderr) { this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); + this.AgentId = agentId; this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); this.Success = success; this.Duration = duration; - this.AgentId = agentId; this.ResponseLength = responseLength; this.ErrorType = errorType; this.Stderr = stderr; diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4.g.cs index adc4009..66a1e7b 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4.g.cs @@ -38,9 +38,9 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant4 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MetadataSendTelemetryRequestEventVariant4( global::Letta.MetadataSendTelemetryRequestEventVariant4Data data, global::Letta.MetadataSendTelemetryRequestEventVariant4Type type) { + this.Type = type; this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4Data.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4Data.g.cs index ce11039..13d0cc2 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4Data.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant4Data.g.cs @@ -81,10 +81,10 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant4Data /// Initializes a new instance of the class. /// /// - /// - /// /// /// + /// + /// /// /// /// @@ -106,10 +106,10 @@ public MetadataSendTelemetryRequestEventVariant4Data( string? debugLogTail) { this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); - this.ErrorType = errorType ?? throw new global::System.ArgumentNullException(nameof(errorType)); - this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.AgentId = agentId; this.RunId = runId; + this.ErrorType = errorType ?? throw new global::System.ArgumentNullException(nameof(errorType)); + this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage)); this.Context = context; this.HttpStatus = httpStatus; this.ModelId = modelId; diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5.g.cs index 049a34c..539f123 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5.g.cs @@ -38,9 +38,9 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant5 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MetadataSendTelemetryRequestEventVariant5( global::Letta.MetadataSendTelemetryRequestEventVariant5Data data, global::Letta.MetadataSendTelemetryRequestEventVariant5Type type) { + this.Type = type; this.Timestamp = timestamp ?? throw new global::System.ArgumentNullException(nameof(timestamp)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5Data.g.cs b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5Data.g.cs index a46953d..52a74dd 100644 --- a/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5Data.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.MetadataSendTelemetryRequestEventVariant5Data.g.cs @@ -65,12 +65,12 @@ public sealed partial class MetadataSendTelemetryRequestEventVariant5Data /// Initializes a new instance of the class. /// /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,12 +84,12 @@ public MetadataSendTelemetryRequestEventVariant5Data( string? commandName) { this.SessionId = sessionId ?? throw new global::System.ArgumentNullException(nameof(sessionId)); + this.AgentId = agentId; this.InputLength = inputLength; this.IsCommand = isCommand; + this.CommandName = commandName; this.MessageType = messageType ?? throw new global::System.ArgumentNullException(nameof(messageType)); this.ModelId = modelId ?? throw new global::System.ArgumentNullException(nameof(modelId)); - this.AgentId = agentId; - this.CommandName = commandName; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Model.g.cs b/src/libs/Letta/Generated/Letta.Models.Model.g.cs index 5d050eb..c4d7de9 100644 --- a/src/libs/Letta/Generated/Letta.Models.Model.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Model.g.cs @@ -230,25 +230,12 @@ public sealed partial class Model /// /// Initializes a new instance of the class. /// - /// - /// The handle for this config, in the format provider/model-name. - /// /// /// The actual model name used by the provider /// - /// - /// A human-friendly display name for the model. - /// /// /// The type of the provider /// - /// - /// The provider name for the model. - /// - /// - /// Type of model (llm or embedding)
- /// Default Value: llm - /// /// /// Deprecated: Use 'name' field instead. LLM model name. /// @@ -258,6 +245,22 @@ public sealed partial class Model /// /// Deprecated: Use 'max_context_window' field instead. The context window size for the model. /// + /// + /// The maximum context window for the model + /// + /// + /// The handle for this config, in the format provider/model-name. + /// + /// + /// A human-friendly display name for the model. + /// + /// + /// The provider name for the model. + /// + /// + /// Type of model (llm or embedding)
+ /// Default Value: llm + /// /// /// The effort level for Anthropic models that support it (Opus 4.5, Opus 4.6). Controls token spending and thinking behavior. Not setting this gives similar performance to 'high'. /// @@ -279,9 +282,6 @@ public sealed partial class Model /// Whether to return token IDs for all LLM generations via SGLang native endpoint. Required for multi-turn RL training with loss masking. Only works with SGLang provider.
/// Default Value: false /// - /// - /// The maximum context window for the model - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -303,22 +303,22 @@ public Model( int? topLogprobs, bool? returnTokenIds) { + this.Handle = handle; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.DisplayName = displayName; this.ProviderType = providerType; + this.ProviderName = providerName; + this.ModelType = modelType; this.Model1 = model1 ?? throw new global::System.ArgumentNullException(nameof(model1)); this.ModelEndpointType = modelEndpointType; this.ContextWindow = contextWindow; - this.MaxContextWindow = maxContextWindow; - this.Handle = handle; - this.DisplayName = displayName; - this.ProviderName = providerName; - this.ModelType = modelType; this.Effort = effort; this.ResponseFormat = responseFormat; this.Strict = strict; this.ReturnLogprobs = returnLogprobs; this.TopLogprobs = topLogprobs; this.ReturnTokenIds = returnTokenIds; + this.MaxContextWindow = maxContextWindow; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobChatCompletionTokenLogprob.g.cs b/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobChatCompletionTokenLogprob.g.cs index e109a93..29cda36 100644 --- a/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobChatCompletionTokenLogprob.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobChatCompletionTokenLogprob.g.cs @@ -45,9 +45,9 @@ public sealed partial class OpenaiTypesChatChatCompletionTokenLogprobChatComplet /// Initializes a new instance of the class. /// /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public OpenaiTypesChatChatCompletionTokenLogprobChatCompletionTokenLogprob( global::System.Collections.Generic.IList? bytes) { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); + this.Bytes = bytes; this.Logprob = logprob; this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); - this.Bytes = bytes; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobTopLogprob.g.cs b/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobTopLogprob.g.cs index 43bbf14..eabb129 100644 --- a/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobTopLogprob.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.OpenaiTypesChatChatCompletionTokenLogprobTopLogprob.g.cs @@ -38,8 +38,8 @@ public sealed partial class OpenaiTypesChatChatCompletionTokenLogprobTopLogprob /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public OpenaiTypesChatChatCompletionTokenLogprobTopLogprob( global::System.Collections.Generic.IList? bytes) { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); - this.Logprob = logprob; this.Bytes = bytes; + this.Logprob = logprob; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PaginatedAgentFiles.g.cs b/src/libs/Letta/Generated/Letta.Models.PaginatedAgentFiles.g.cs index 480ce12..d075b98 100644 --- a/src/libs/Letta/Generated/Letta.Models.PaginatedAgentFiles.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PaginatedAgentFiles.g.cs @@ -40,12 +40,12 @@ public sealed partial class PaginatedAgentFiles /// /// List of file attachments for the agent /// - /// - /// Cursor for fetching the next page (file-agent relationship ID) - /// /// /// Whether more results exist after this page /// + /// + /// Cursor for fetching the next page (file-agent relationship ID) + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,8 +55,8 @@ public PaginatedAgentFiles( string? nextCursor) { this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); - this.HasMore = hasMore; this.NextCursor = nextCursor; + this.HasMore = hasMore; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ParametersSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.ParametersSchema.g.cs index 4e1addf..9f74aa7 100644 --- a/src/libs/Letta/Generated/Letta.Models.ParametersSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ParametersSchema.g.cs @@ -36,10 +36,10 @@ public sealed partial class ParametersSchema /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: object /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public ParametersSchema( string? type, global::System.Collections.Generic.IList? required) { - this.Properties = properties ?? throw new global::System.ArgumentNullException(nameof(properties)); this.Type = type; + this.Properties = properties ?? throw new global::System.ArgumentNullException(nameof(properties)); this.Required = required; } diff --git a/src/libs/Letta/Generated/Letta.Models.ParentToolRule.g.cs b/src/libs/Letta/Generated/Letta.Models.ParentToolRule.g.cs index 01c723c..6d03f47 100644 --- a/src/libs/Letta/Generated/Letta.Models.ParentToolRule.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ParentToolRule.g.cs @@ -46,15 +46,15 @@ public sealed partial class ParentToolRule /// /// The name of the tool. Must exist in the database for the user's organization. /// + /// + /// The children tools that can be invoked. + /// /// /// Default Value: parent_last_tool /// /// /// Optional template string (ignored). /// - /// - /// The children tools that can be invoked. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,9 +65,9 @@ public ParentToolRule( string? promptTemplate) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.Type = type; this.PromptTemplate = promptTemplate; + this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Passage.g.cs b/src/libs/Letta/Generated/Letta.Models.Passage.g.cs index aa9ddba..bbdd727 100644 --- a/src/libs/Letta/Generated/Letta.Models.Passage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Passage.g.cs @@ -113,6 +113,9 @@ public sealed partial class Passage /// /// Initializes a new instance of the class. /// + /// + /// The text of the passage. + /// /// /// The id of the user that made this object. /// @@ -148,9 +151,6 @@ public sealed partial class Passage /// /// The human-friendly ID of the Passage /// - /// - /// The text of the passage. - /// /// /// The embedding of the passage. /// @@ -176,7 +176,6 @@ public Passage( global::System.Collections.Generic.IList? embedding, global::Letta.EmbeddingConfig? embeddingConfig) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; @@ -188,6 +187,7 @@ public Passage( this.Metadata = metadata; this.Tags = tags; this.Id = id; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Embedding = embedding; this.EmbeddingConfig = embeddingConfig; } diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant1.g.cs index 655b7cf..f051ad9 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesCreatePipelineRequestProducerConfigVariant1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesCreatePipelineRequestProducerConfigVariant1( global::Letta.PipelinesCreatePipelineRequestProducerConfigVariant1Data data, global::Letta.PipelinesCreatePipelineRequestProducerConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant2.g.cs index c970baa..8e97e50 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineRequestProducerConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesCreatePipelineRequestProducerConfigVariant2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesCreatePipelineRequestProducerConfigVariant2( object data, global::Letta.PipelinesCreatePipelineRequestProducerConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipeline.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipeline.g.cs index a7fac42..da47c82 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipeline.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipeline.g.cs @@ -146,15 +146,15 @@ public sealed partial class PipelinesCreatePipelineResponsePipeline /// /// /// - /// /// /// /// + /// + /// + /// /// /// /// - /// - /// /// /// /// @@ -189,15 +189,15 @@ public PipelinesCreatePipelineResponsePipeline( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.IntegrationId = integrationId; this.IntegrationType = integrationType; this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.Config = config; - this.CreatedAt = createdAt; - this.UpdatedAt = updatedAt; - this.IntegrationId = integrationId; this.NextScheduledAt = nextScheduledAt; this.LastRunAt = lastRunAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.IntegrationDisplayName = integrationDisplayName; this.FeedName = feedName; this.SubscriberCount = subscriberCount; diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant1.g.cs index a98bb60..5d6a2f6 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesCreatePipelineResponsePipelineConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesCreatePipelineResponsePipelineConfigVariant1( global::Letta.PipelinesCreatePipelineResponsePipelineConfigVariant1Data data, global::Letta.PipelinesCreatePipelineResponsePipelineConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant2.g.cs index 3449790..af5c264 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesCreatePipelineResponsePipelineConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesCreatePipelineResponsePipelineConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesCreatePipelineResponsePipelineConfigVariant2( object data, global::Letta.PipelinesCreatePipelineResponsePipelineConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipeline.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipeline.g.cs index 385933e..e93bb25 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipeline.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipeline.g.cs @@ -146,15 +146,15 @@ public sealed partial class PipelinesGetPipelineResponsePipeline /// /// /// - /// /// /// /// + /// + /// + /// /// /// /// - /// - /// /// /// /// @@ -189,15 +189,15 @@ public PipelinesGetPipelineResponsePipeline( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.IntegrationId = integrationId; this.IntegrationType = integrationType; this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.Config = config; - this.CreatedAt = createdAt; - this.UpdatedAt = updatedAt; - this.IntegrationId = integrationId; this.NextScheduledAt = nextScheduledAt; this.LastRunAt = lastRunAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.IntegrationDisplayName = integrationDisplayName; this.FeedName = feedName; this.SubscriberCount = subscriberCount; diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant1.g.cs index 0213bbd..73228cb 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesGetPipelineResponsePipelineConfigVariant1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesGetPipelineResponsePipelineConfigVariant1( global::Letta.PipelinesGetPipelineResponsePipelineConfigVariant1Data data, global::Letta.PipelinesGetPipelineResponsePipelineConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant2.g.cs index 0d1750c..5372756 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesGetPipelineResponsePipelineConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesGetPipelineResponsePipelineConfigVariant2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesGetPipelineResponsePipelineConfigVariant2( object data, global::Letta.PipelinesGetPipelineResponsePipelineConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipeline.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipeline.g.cs index 0c51f46..f545589 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipeline.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipeline.g.cs @@ -146,15 +146,15 @@ public sealed partial class PipelinesListPipelinesResponsePipeline /// /// /// - /// /// /// /// + /// + /// + /// /// /// /// - /// - /// /// /// /// @@ -189,15 +189,15 @@ public PipelinesListPipelinesResponsePipeline( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.IntegrationId = integrationId; this.IntegrationType = integrationType; this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.Config = config; - this.CreatedAt = createdAt; - this.UpdatedAt = updatedAt; - this.IntegrationId = integrationId; this.NextScheduledAt = nextScheduledAt; this.LastRunAt = lastRunAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.IntegrationDisplayName = integrationDisplayName; this.FeedName = feedName; this.SubscriberCount = subscriberCount; diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant1.g.cs index 7af8bdb..5640a4a 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesListPipelinesResponsePipelineConfigVariant1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesListPipelinesResponsePipelineConfigVariant1( global::Letta.PipelinesListPipelinesResponsePipelineConfigVariant1Data data, global::Letta.PipelinesListPipelinesResponsePipelineConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant2.g.cs index 12c768d..0eddd3b 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesListPipelinesResponsePipelineConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesListPipelinesResponsePipelineConfigVariant2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesListPipelinesResponsePipelineConfigVariant2( object data, global::Letta.PipelinesListPipelinesResponsePipelineConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant1.g.cs index 499cac5..55e490c 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesPreviewPipelineRequestProducerConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesPreviewPipelineRequestProducerConfigVariant1( global::Letta.PipelinesPreviewPipelineRequestProducerConfigVariant1Data data, global::Letta.PipelinesPreviewPipelineRequestProducerConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant2.g.cs index ee8f55b..6a8a99f 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesPreviewPipelineRequestProducerConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesPreviewPipelineRequestProducerConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesPreviewPipelineRequestProducerConfigVariant2( object data, global::Letta.PipelinesPreviewPipelineRequestProducerConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1.g.cs index 59e811b..efb7d61 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineProducerConfigRequestProducer /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1( global::Letta.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1Data data, global::Letta.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2.g.cs index 8cacf69..7efe397 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineProducerConfigRequestProducer /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2( object data, global::Letta.PipelinesUpdatePipelineProducerConfigRequestProducerConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipeline.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipeline.g.cs index d170d8d..d36986e 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipeline.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipeline.g.cs @@ -146,15 +146,15 @@ public sealed partial class PipelinesUpdatePipelineProducerConfigResponsePipelin /// /// /// - /// /// /// /// + /// + /// + /// /// /// /// - /// - /// /// /// /// @@ -189,15 +189,15 @@ public PipelinesUpdatePipelineProducerConfigResponsePipeline( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.IntegrationId = integrationId; this.IntegrationType = integrationType; this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.Config = config; - this.CreatedAt = createdAt; - this.UpdatedAt = updatedAt; - this.IntegrationId = integrationId; this.NextScheduledAt = nextScheduledAt; this.LastRunAt = lastRunAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.IntegrationDisplayName = integrationDisplayName; this.FeedName = feedName; this.SubscriberCount = subscriberCount; diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1.g.cs index 9398a4e..7fdc40c 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineProducerConfigResponsePipelin /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1( global::Letta.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1Data data, global::Letta.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2.g.cs index 92014f3..6d0fb9d 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineProducerConfigResponsePipelin /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2( object data, global::Letta.PipelinesUpdatePipelineProducerConfigResponsePipelineConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipeline.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipeline.g.cs index d8655c5..8b66700 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipeline.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipeline.g.cs @@ -146,15 +146,15 @@ public sealed partial class PipelinesUpdatePipelineResponsePipeline /// /// /// - /// /// /// /// + /// + /// + /// /// /// /// - /// - /// /// /// /// @@ -189,15 +189,15 @@ public PipelinesUpdatePipelineResponsePipeline( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); + this.IntegrationId = integrationId; this.IntegrationType = integrationType; this.FeedId = feedId ?? throw new global::System.ArgumentNullException(nameof(feedId)); this.Config = config; - this.CreatedAt = createdAt; - this.UpdatedAt = updatedAt; - this.IntegrationId = integrationId; this.NextScheduledAt = nextScheduledAt; this.LastRunAt = lastRunAt; this.DisabledAt = disabledAt; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.IntegrationDisplayName = integrationDisplayName; this.FeedName = feedName; this.SubscriberCount = subscriberCount; diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant1.g.cs index c08ef30..9a9c518 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineResponsePipelineConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineResponsePipelineConfigVariant1( global::Letta.PipelinesUpdatePipelineResponsePipelineConfigVariant1Data data, global::Letta.PipelinesUpdatePipelineResponsePipelineConfigVariant1Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant2.g.cs index ceed6d5..01f7768 100644 --- a/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.PipelinesUpdatePipelineResponsePipelineConfigVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class PipelinesUpdatePipelineResponsePipelineConfigVariant /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public PipelinesUpdatePipelineResponsePipelineConfigVariant2( object data, global::Letta.PipelinesUpdatePipelineResponsePipelineConfigVariant2Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Provider.g.cs b/src/libs/Letta/Generated/Letta.Models.Provider.g.cs index a966d23..3012602 100644 --- a/src/libs/Letta/Generated/Letta.Models.Provider.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Provider.g.cs @@ -104,9 +104,6 @@ public sealed partial class Provider /// /// Initializes a new instance of the class. /// - /// - /// The id of the provider, lazily created by the database manager. - /// /// /// The name of the provider /// @@ -116,6 +113,9 @@ public sealed partial class Provider /// /// The category of the provider (base or byok) /// + /// + /// The id of the provider, lazily created by the database manager. + /// /// /// Base URL for the provider. /// @@ -153,10 +153,10 @@ public Provider( string? apiKeyEnc, string? accessKeyEnc) { + this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.ProviderType = providerType; this.ProviderCategory = providerCategory; - this.Id = id; this.BaseUrl = baseUrl; this.Region = region; this.ApiVersion = apiVersion; diff --git a/src/libs/Letta/Generated/Letta.Models.ProviderTrace.g.cs b/src/libs/Letta/Generated/Letta.Models.ProviderTrace.g.cs index 5d66fe1..62772f7 100644 --- a/src/libs/Letta/Generated/Letta.Models.ProviderTrace.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ProviderTrace.g.cs @@ -136,6 +136,12 @@ public sealed partial class ProviderTrace /// /// Initializes a new instance of the class. /// + /// + /// JSON content of the provider request + /// + /// + /// JSON content of the provider response + /// /// /// The id of the user that made this object. /// @@ -151,12 +157,6 @@ public sealed partial class ProviderTrace /// /// The human-friendly ID of the Provider_trace /// - /// - /// JSON content of the provider request - /// - /// - /// JSON content of the provider response - /// /// /// ID of the step that this trace is associated with /// @@ -209,13 +209,13 @@ public ProviderTrace( object? llmConfig, global::Letta.BillingContext? billingContext) { - this.RequestJson = requestJson ?? throw new global::System.ArgumentNullException(nameof(requestJson)); - this.ResponseJson = responseJson ?? throw new global::System.ArgumentNullException(nameof(responseJson)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.Id = id; + this.RequestJson = requestJson ?? throw new global::System.ArgumentNullException(nameof(requestJson)); + this.ResponseJson = responseJson ?? throw new global::System.ArgumentNullException(nameof(responseJson)); this.StepId = stepId; this.AgentId = agentId; this.AgentTags = agentTags; diff --git a/src/libs/Letta/Generated/Letta.Models.ReasoningContent.g.cs b/src/libs/Letta/Generated/Letta.Models.ReasoningContent.g.cs index 069299a..46c8631 100644 --- a/src/libs/Letta/Generated/Letta.Models.ReasoningContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ReasoningContent.g.cs @@ -44,16 +44,16 @@ public sealed partial class ReasoningContent /// /// Initializes a new instance of the class. /// - /// - /// Indicates this is a reasoning/intermediate step.
- /// Default Value: reasoning - /// /// /// Whether the reasoning content was generated by a reasoner model that processed this step. /// /// /// The intermediate reasoning or thought process content. /// + /// + /// Indicates this is a reasoning/intermediate step.
+ /// Default Value: reasoning + /// /// /// A unique identifier for this reasoning step. /// @@ -66,9 +66,9 @@ public ReasoningContent( string? type, string? signature) { + this.Type = type; this.IsNative = isNative; this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); - this.Type = type; this.Signature = signature; } diff --git a/src/libs/Letta/Generated/Letta.Models.ReasoningMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.ReasoningMessage.g.cs index ff86722..b0222ad 100644 --- a/src/libs/Letta/Generated/Letta.Models.ReasoningMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ReasoningMessage.g.cs @@ -110,6 +110,7 @@ public sealed partial class ReasoningMessage ///
/// /// + /// /// /// /// The type of the message.
@@ -124,7 +125,6 @@ public sealed partial class ReasoningMessage /// /// Default Value: non_reasoner_model /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -146,7 +146,6 @@ public ReasoningMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -156,6 +155,7 @@ public ReasoningMessage( this.SeqId = seqId; this.RunId = runId; this.Source = source; + this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); this.Signature = signature; } diff --git a/src/libs/Letta/Generated/Letta.Models.ReasoningMessageListResult.g.cs b/src/libs/Letta/Generated/Letta.Models.ReasoningMessageListResult.g.cs index f6e6046..21691df 100644 --- a/src/libs/Letta/Generated/Letta.Models.ReasoningMessageListResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ReasoningMessageListResult.g.cs @@ -58,21 +58,21 @@ public sealed partial class ReasoningMessageListResult /// Initializes a new instance of the class. ///
/// - /// - /// Default Value: reasoning_message - /// /// /// The unique identifier of the message. /// + /// + /// The time the message was created in ISO format. + /// + /// + /// Default Value: reasoning_message + /// /// /// The unique identifier of the agent that owns the message. /// /// /// The unique identifier of the conversation that the message belongs to. /// - /// - /// The time the message was created in ISO format. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -85,11 +85,11 @@ public ReasoningMessageListResult( string? conversationId) { this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); - this.MessageId = messageId ?? throw new global::System.ArgumentNullException(nameof(messageId)); - this.CreatedAt = createdAt; this.MessageType = messageType; + this.MessageId = messageId ?? throw new global::System.ArgumentNullException(nameof(messageId)); this.AgentId = agentId; this.ConversationId = conversationId; + this.CreatedAt = createdAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.RedactedReasoningContent.g.cs b/src/libs/Letta/Generated/Letta.Models.RedactedReasoningContent.g.cs index 61959f6..6df5be2 100644 --- a/src/libs/Letta/Generated/Letta.Models.RedactedReasoningContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.RedactedReasoningContent.g.cs @@ -31,13 +31,13 @@ public sealed partial class RedactedReasoningContent /// /// Initializes a new instance of the class. /// + /// + /// The redacted or filtered intermediate reasoning content. + /// /// /// Indicates this is a redacted thinking step.
/// Default Value: redacted_reasoning /// - /// - /// The redacted or filtered intermediate reasoning content. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public RedactedReasoningContent( string data, string? type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.Run.g.cs b/src/libs/Letta/Generated/Letta.Models.Run.g.cs index c9c3b02..0f30ad1 100644 --- a/src/libs/Letta/Generated/Letta.Models.Run.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Run.g.cs @@ -122,6 +122,9 @@ public sealed partial class Run /// /// Initializes a new instance of the class. /// + /// + /// The unique identifier of the agent associated with the run. + /// /// /// The human-friendly ID of the Run /// @@ -135,9 +138,6 @@ public sealed partial class Run /// /// The timestamp when the run was completed. /// - /// - /// The unique identifier of the agent associated with the run. - /// /// /// The unique identifier of the conversation associated with the run. /// @@ -196,11 +196,11 @@ public Run( long? ttftNs, long? totalDurationNs) { - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Id = id; this.Status = status; this.CreatedAt = createdAt; this.CompletedAt = completedAt; + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.ConversationId = conversationId; this.BaseTemplateId = baseTemplateId; this.Background = background; diff --git a/src/libs/Letta/Generated/Letta.Models.SSEMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.SSEMCPServer.g.cs index 1600be7..8f318ba 100644 --- a/src/libs/Letta/Generated/Letta.Models.SSEMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SSEMCPServer.g.cs @@ -61,12 +61,15 @@ public sealed partial class SSEMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: sse - /// /// /// The URL of the server /// + /// + /// The name of the MCP server + /// + /// + /// Default Value: sse + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -79,9 +82,6 @@ public sealed partial class SSEMCPServer /// /// The human-friendly ID of the Mcp_server /// - /// - /// The name of the MCP server - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -94,13 +94,13 @@ public SSEMCPServer( global::System.Collections.Generic.Dictionary? customHeaders, string? id) { - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); - this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); this.McpServerType = mcpServerType; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; this.Id = id; + this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.SSEServerConfig.g.cs b/src/libs/Letta/Generated/Letta.Models.SSEServerConfig.g.cs index 79d644c..76beac6 100644 --- a/src/libs/Letta/Generated/Letta.Models.SSEServerConfig.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SSEServerConfig.g.cs @@ -59,12 +59,12 @@ public sealed partial class SSEServerConfig /// /// The name of the server /// - /// - /// Default Value: sse - /// /// /// The URL of the server /// + /// + /// Default Value: sse + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -86,8 +86,8 @@ public SSEServerConfig( global::System.Collections.Generic.Dictionary? customHeaders) { this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.Type = type; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; diff --git a/src/libs/Letta/Generated/Letta.Models.SandboxEnvironmentVariable.g.cs b/src/libs/Letta/Generated/Letta.Models.SandboxEnvironmentVariable.g.cs index 8875536..6189734 100644 --- a/src/libs/Letta/Generated/Letta.Models.SandboxEnvironmentVariable.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SandboxEnvironmentVariable.g.cs @@ -80,6 +80,15 @@ public sealed partial class SandboxEnvironmentVariable /// /// Initializes a new instance of the class. /// + /// + /// The name of the environment variable. + /// + /// + /// The value of the environment variable. + /// + /// + /// The ID of the sandbox config this environment variable belongs to. + /// /// /// The id of the user that made this object. /// @@ -95,21 +104,12 @@ public sealed partial class SandboxEnvironmentVariable /// /// The human-friendly ID of the Sandbox-env /// - /// - /// The name of the environment variable. - /// - /// - /// The value of the environment variable. - /// /// /// An optional description of the environment variable. /// /// /// Encrypted value as Secret object /// - /// - /// The ID of the sandbox config this environment variable belongs to. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -125,16 +125,16 @@ public SandboxEnvironmentVariable( string? description, string? valueEnc) { - this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); - this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.SandboxConfigId = sandboxConfigId ?? throw new global::System.ArgumentNullException(nameof(sandboxConfigId)); this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.Id = id; + this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Description = description; this.ValueEnc = valueEnc; + this.SandboxConfigId = sandboxConfigId ?? throw new global::System.ArgumentNullException(nameof(sandboxConfigId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant1.g.cs index 0b247f1..7804cff 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesListScheduledMessagesResponseSchedu /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVar double scheduledAt, global::Letta.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant1Type? type) { - this.ScheduledAt = scheduledAt; this.Type = type; + this.ScheduledAt = scheduledAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant2.g.cs index d1bb2db..69faab1 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesListScheduledMessagesResponseSchedu /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVar string cronExpression, global::Letta.ScheduledMessagesListScheduledMessagesResponseScheduledMessageScheduleVariant2Type type) { - this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); this.Type = type; + this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1.g.cs index 33de62d..8820062 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesRetrieveScheduledMessageResponseSch /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1( double scheduledAt, global::Letta.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant1Type? type) { - this.ScheduledAt = scheduledAt; this.Type = type; + this.ScheduledAt = scheduledAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2.g.cs index 070f26c..7fc8c2c 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesRetrieveScheduledMessageResponseSch /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2( string cronExpression, global::Letta.ScheduledMessagesRetrieveScheduledMessageResponseScheduleVariant2Type type) { - this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); this.Type = type; + this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequest.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequest.g.cs index 01e6de7..ef35c0e 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequest.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequest.g.cs @@ -51,10 +51,10 @@ public sealed partial class ScheduledMessagesScheduleAgentMessageRequest /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ScheduledMessagesScheduleAgentMessageRequest( global::System.Collections.Generic.IList? includeReturnMessageTypes) { this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); - this.Schedule = schedule; this.MaxSteps = maxSteps; this.CallbackUrl = callbackUrl; this.IncludeReturnMessageTypes = includeReturnMessageTypes; + this.Schedule = schedule; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1.g.cs index df9d22d..5dcf58c 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesScheduleAgentMessageRequestSchedule /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1( double scheduledAt, global::Letta.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant1Type? type) { - this.ScheduledAt = scheduledAt; this.Type = type; + this.ScheduledAt = scheduledAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2.g.cs index 09034d7..535a23f 100644 --- a/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2.g.cs @@ -31,8 +31,8 @@ public sealed partial class ScheduledMessagesScheduleAgentMessageRequestSchedule /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2( string cronExpression, global::Letta.ScheduledMessagesScheduleAgentMessageRequestScheduleVariant2Type type) { - this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); this.Type = type; + this.CronExpression = cronExpression ?? throw new global::System.ArgumentNullException(nameof(cronExpression)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.SleeptimeManager.g.cs b/src/libs/Letta/Generated/Letta.Models.SleeptimeManager.g.cs index ac55f96..e50833a 100644 --- a/src/libs/Letta/Generated/Letta.Models.SleeptimeManager.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SleeptimeManager.g.cs @@ -36,10 +36,10 @@ public sealed partial class SleeptimeManager /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: sleeptime /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public SleeptimeManager( string? managerType, int? sleeptimeAgentFrequency) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.SleeptimeAgentFrequency = sleeptimeAgentFrequency; } diff --git a/src/libs/Letta/Generated/Letta.Models.SleeptimeManagerSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.SleeptimeManagerSchema.g.cs index b82ede5..b799aa2 100644 --- a/src/libs/Letta/Generated/Letta.Models.SleeptimeManagerSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SleeptimeManagerSchema.g.cs @@ -36,10 +36,10 @@ public sealed partial class SleeptimeManagerSchema /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: sleeptime /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public SleeptimeManagerSchema( string? managerType, int? sleeptimeAgentFrequency) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.SleeptimeAgentFrequency = sleeptimeAgentFrequency; } diff --git a/src/libs/Letta/Generated/Letta.Models.Source2.g.cs b/src/libs/Letta/Generated/Letta.Models.Source2.g.cs index 17f092e..6f17d57 100644 --- a/src/libs/Letta/Generated/Letta.Models.Source2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.Source2.g.cs @@ -90,6 +90,9 @@ public sealed partial class Source2 /// /// The name of the source. /// + /// + /// The embedding configuration used by the source. + /// /// /// The description of the source. /// @@ -102,9 +105,6 @@ public sealed partial class Source2 /// /// The human-friendly ID of the Source /// - /// - /// The embedding configuration used by the source. - /// /// /// The vector database provider used for this source's passages
/// Default Value: native @@ -138,11 +138,11 @@ public Source2( global::System.DateTime? updatedAt) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.EmbeddingConfig = embeddingConfig ?? throw new global::System.ArgumentNullException(nameof(embeddingConfig)); this.Description = description; this.Instructions = instructions; this.Metadata = metadata; this.Id = id; + this.EmbeddingConfig = embeddingConfig ?? throw new global::System.ArgumentNullException(nameof(embeddingConfig)); this.VectorDbProvider = vectorDbProvider; this.CreatedById = createdById; this.LastUpdatedById = lastUpdatedById; diff --git a/src/libs/Letta/Generated/Letta.Models.SourceSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.SourceSchema.g.cs index 30a4cd6..c8f6b9c 100644 --- a/src/libs/Letta/Generated/Letta.Models.SourceSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SourceSchema.g.cs @@ -70,6 +70,9 @@ public sealed partial class SourceSchema /// /// The name of the source. /// + /// + /// Human-readable identifier for this source in the file + /// /// /// The description of the source. /// @@ -88,9 +91,6 @@ public sealed partial class SourceSchema /// /// (Legacy) The embedding configuration used by the source. /// - /// - /// Human-readable identifier for this source in the file - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -105,13 +105,13 @@ public SourceSchema( global::Letta.EmbeddingConfig? embeddingConfig) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Description = description; this.Instructions = instructions; this.Metadata = metadata; this.Embedding = embedding; this.EmbeddingChunkSize = embeddingChunkSize; this.EmbeddingConfig = embeddingConfig; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.StdioMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.StdioMCPServer.g.cs index 61754eb..5008883 100644 --- a/src/libs/Letta/Generated/Letta.Models.StdioMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.StdioMCPServer.g.cs @@ -56,24 +56,24 @@ public sealed partial class StdioMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: stdio - /// /// /// The command to run (MCP 'local' client will run this command) /// /// /// The arguments to pass to the command /// + /// + /// The name of the MCP server + /// + /// + /// Default Value: stdio + /// /// /// Environment variables to set /// /// /// The human-friendly ID of the Mcp_server /// - /// - /// The name of the MCP server - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -85,12 +85,12 @@ public StdioMCPServer( global::System.Collections.Generic.Dictionary? env, string? id) { + this.McpServerType = mcpServerType; this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); this.Args = args ?? throw new global::System.ArgumentNullException(nameof(args)); - this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); - this.McpServerType = mcpServerType; this.Env = env; this.Id = id; + this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.StdioServerConfig.g.cs b/src/libs/Letta/Generated/Letta.Models.StdioServerConfig.g.cs index 62f4fa9..d100775 100644 --- a/src/libs/Letta/Generated/Letta.Models.StdioServerConfig.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.StdioServerConfig.g.cs @@ -54,15 +54,15 @@ public sealed partial class StdioServerConfig /// /// The name of the server /// - /// - /// Default Value: stdio - /// /// /// The command to run (MCP 'local' client will run this command) /// /// /// The arguments to pass to the command /// + /// + /// Default Value: stdio + /// /// /// Environment variables to set /// @@ -77,9 +77,9 @@ public StdioServerConfig( global::System.Collections.Generic.Dictionary? env) { this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); + this.Type = type; this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); this.Args = args ?? throw new global::System.ArgumentNullException(nameof(args)); - this.Type = type; this.Env = env; } diff --git a/src/libs/Letta/Generated/Letta.Models.StreamableHTTPMCPServer.g.cs b/src/libs/Letta/Generated/Letta.Models.StreamableHTTPMCPServer.g.cs index c83479a..076dc30 100644 --- a/src/libs/Letta/Generated/Letta.Models.StreamableHTTPMCPServer.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.StreamableHTTPMCPServer.g.cs @@ -61,12 +61,15 @@ public sealed partial class StreamableHTTPMCPServer /// /// Initializes a new instance of the class. /// - /// - /// Default Value: streamable_http - /// /// /// The URL of the server /// + /// + /// The name of the MCP server + /// + /// + /// Default Value: streamable_http + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -79,9 +82,6 @@ public sealed partial class StreamableHTTPMCPServer /// /// The human-friendly ID of the Mcp_server /// - /// - /// The name of the MCP server - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -94,13 +94,13 @@ public StreamableHTTPMCPServer( global::System.Collections.Generic.Dictionary? customHeaders, string? id) { - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); - this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); this.McpServerType = mcpServerType; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; this.Id = id; + this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.StreamableHTTPServerConfig.g.cs b/src/libs/Letta/Generated/Letta.Models.StreamableHTTPServerConfig.g.cs index b6d0b83..80cfa54 100644 --- a/src/libs/Letta/Generated/Letta.Models.StreamableHTTPServerConfig.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.StreamableHTTPServerConfig.g.cs @@ -59,12 +59,12 @@ public sealed partial class StreamableHTTPServerConfig /// /// The name of the server /// - /// - /// Default Value: streamable_http - /// /// /// The URL of the server /// + /// + /// Default Value: streamable_http + /// /// /// The name of the authentication header (e.g., 'Authorization') /// @@ -86,8 +86,8 @@ public StreamableHTTPServerConfig( global::System.Collections.Generic.Dictionary? customHeaders) { this.ServerName = serverName ?? throw new global::System.ArgumentNullException(nameof(serverName)); - this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.Type = type; + this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.AuthHeader = authHeader; this.AuthToken = authToken; this.CustomHeaders = customHeaders; diff --git a/src/libs/Letta/Generated/Letta.Models.SummarizedReasoningContent.g.cs b/src/libs/Letta/Generated/Letta.Models.SummarizedReasoningContent.g.cs index e14e832..25f238d 100644 --- a/src/libs/Letta/Generated/Letta.Models.SummarizedReasoningContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SummarizedReasoningContent.g.cs @@ -44,16 +44,16 @@ public sealed partial class SummarizedReasoningContent /// /// Initializes a new instance of the class. /// - /// - /// Indicates this is a summarized reasoning step.
- /// Default Value: summarized_reasoning - /// /// /// The unique identifier for this reasoning step. /// /// /// Summaries of the reasoning content. /// + /// + /// Indicates this is a summarized reasoning step.
+ /// Default Value: summarized_reasoning + /// /// /// The encrypted reasoning content. /// @@ -66,9 +66,9 @@ public SummarizedReasoningContent( string? type, string? encryptedContent) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); - this.Type = type; this.EncryptedContent = encryptedContent; } diff --git a/src/libs/Letta/Generated/Letta.Models.SummaryMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.SummaryMessage.g.cs index d78b36e..14d2b49 100644 --- a/src/libs/Letta/Generated/Letta.Models.SummaryMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SummaryMessage.g.cs @@ -94,6 +94,7 @@ public sealed partial class SummaryMessage ///
/// /// + /// /// /// /// Default Value: summary_message @@ -104,7 +105,6 @@ public sealed partial class SummaryMessage /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -125,7 +125,6 @@ public SummaryMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -134,6 +133,7 @@ public SummaryMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.CompactionStats = compactionStats; } diff --git a/src/libs/Letta/Generated/Letta.Models.SupervisorManager.g.cs b/src/libs/Letta/Generated/Letta.Models.SupervisorManager.g.cs index 64610af..c677f29 100644 --- a/src/libs/Letta/Generated/Letta.Models.SupervisorManager.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SupervisorManager.g.cs @@ -30,10 +30,10 @@ public sealed partial class SupervisorManager /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: supervisor /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public SupervisorManager( string managerAgentId, string? managerType) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.SupervisorManagerSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.SupervisorManagerSchema.g.cs index 6736bcb..aab2812 100644 --- a/src/libs/Letta/Generated/Letta.Models.SupervisorManagerSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SupervisorManagerSchema.g.cs @@ -30,10 +30,10 @@ public sealed partial class SupervisorManagerSchema /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: supervisor /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public SupervisorManagerSchema( string managerAgentId, string? managerType) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.SystemMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.SystemMessage.g.cs index 745afba..a125ab7 100644 --- a/src/libs/Letta/Generated/Letta.Models.SystemMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SystemMessage.g.cs @@ -94,6 +94,9 @@ public sealed partial class SystemMessage /// /// /// + /// + /// The message content sent by the system + /// /// /// /// The type of the message.
@@ -105,9 +108,6 @@ public sealed partial class SystemMessage /// /// /// - /// - /// The message content sent by the system - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -126,7 +126,6 @@ public SystemMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -135,6 +134,7 @@ public SystemMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.SystemMessageListResult.g.cs b/src/libs/Letta/Generated/Letta.Models.SystemMessageListResult.g.cs index 717fb6d..c4e328a 100644 --- a/src/libs/Letta/Generated/Letta.Models.SystemMessageListResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.SystemMessageListResult.g.cs @@ -57,24 +57,24 @@ public sealed partial class SystemMessageListResult /// /// Initializes a new instance of the class. /// - /// - /// Default Value: system_message - /// /// /// The message content sent by the system (can be a string or an array of multi-modal content parts) /// /// /// The unique identifier of the message. /// + /// + /// The time the message was created in ISO format. + /// + /// + /// Default Value: system_message + /// /// /// The unique identifier of the agent that owns the message. /// /// /// The unique identifier of the conversation that the message belongs to. /// - /// - /// The time the message was created in ISO format. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -86,12 +86,12 @@ public SystemMessageListResult( string? agentId, string? conversationId) { + this.MessageType = messageType; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.MessageId = messageId ?? throw new global::System.ArgumentNullException(nameof(messageId)); - this.CreatedAt = createdAt; - this.MessageType = messageType; this.AgentId = agentId; this.ConversationId = conversationId; + this.CreatedAt = createdAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateAgentsFromTemplateNoProjectResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateAgentsFromTemplateNoProjectResponse.g.cs index 83fee79..e69ded4 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateAgentsFromTemplateNoProjectResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateAgentsFromTemplateNoProjectResponse.g.cs @@ -40,12 +40,12 @@ public sealed partial class TemplatesCreateAgentsFromTemplateNoProjectResponse /// /// Array of created agent IDs /// - /// - /// Optional group ID if agents were created in a group - /// /// /// The deployment ID for the created agents /// + /// + /// Optional group ID if agents were created in a group + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,8 +55,8 @@ public TemplatesCreateAgentsFromTemplateNoProjectResponse( string? groupId) { this.AgentIds = agentIds ?? throw new global::System.ArgumentNullException(nameof(agentIds)); - this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); this.GroupId = groupId; + this.DeploymentId = deploymentId ?? throw new global::System.ArgumentNullException(nameof(deploymentId)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant1.g.cs index 2aa5509..28990cc 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant1.g.cs @@ -37,10 +37,10 @@ public sealed partial class TemplatesCreateTemplateNoProjectRequestVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// The ID of the agent to use as a template, can be from any project /// + /// /// /// Optional custom name for the template. If not provided, a random name will be generated. /// @@ -52,8 +52,8 @@ public TemplatesCreateTemplateNoProjectRequestVariant1( global::Letta.TemplatesCreateTemplateNoProjectRequestVariant1Type type, string? name) { - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Type = type; + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Name = name; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant2.g.cs index e0910b2..d3d6cfc 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectRequestVariant2.g.cs @@ -43,10 +43,10 @@ public sealed partial class TemplatesCreateTemplateNoProjectRequestVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// The agent file to use as a template, this should be a JSON file exported from the platform /// + /// /// /// Optional custom name for the template. If not provided, a random name will be generated. /// @@ -62,8 +62,8 @@ public TemplatesCreateTemplateNoProjectRequestVariant2( string? name, bool? updateExistingTools) { - this.AgentFile = agentFile ?? throw new global::System.ArgumentNullException(nameof(agentFile)); this.Type = type; + this.AgentFile = agentFile ?? throw new global::System.ArgumentNullException(nameof(agentFile)); this.Name = name; this.UpdateExistingTools = updateExistingTools; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectResponse.g.cs index 5b9bad5..18af5e3 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateNoProjectResponse.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesCreateTemplateNoProjectResponse /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesCreateTemplateNoProjectResponse( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant1.g.cs index 3c735af..7e71b0d 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant1.g.cs @@ -37,10 +37,10 @@ public sealed partial class TemplatesCreateTemplateRequestVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// The ID of the agent to use as a template, can be from any project /// + /// /// /// Optional custom name for the template. If not provided, a random name will be generated. /// @@ -52,8 +52,8 @@ public TemplatesCreateTemplateRequestVariant1( global::Letta.TemplatesCreateTemplateRequestVariant1Type type, string? name) { - this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Type = type; + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); this.Name = name; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant2.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant2.g.cs index 38fbbba..56a3ecc 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant2.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateRequestVariant2.g.cs @@ -43,10 +43,10 @@ public sealed partial class TemplatesCreateTemplateRequestVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// The agent file to use as a template, this should be a JSON file exported from the platform /// + /// /// /// Optional custom name for the template. If not provided, a random name will be generated. /// @@ -62,8 +62,8 @@ public TemplatesCreateTemplateRequestVariant2( string? name, bool? updateExistingTools) { - this.AgentFile = agentFile ?? throw new global::System.ArgumentNullException(nameof(agentFile)); this.Type = type; + this.AgentFile = agentFile ?? throw new global::System.ArgumentNullException(nameof(agentFile)); this.Name = name; this.UpdateExistingTools = updateExistingTools; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateResponse.g.cs index 75911e8..6484e3b 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesCreateTemplateResponse.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesCreateTemplateResponse /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesCreateTemplateResponse( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesForkTemplateResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesForkTemplateResponse.g.cs index 57024f0..22c48ac 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesForkTemplateResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesForkTemplateResponse.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesForkTemplateResponse /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesForkTemplateResponse( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgent.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgent.g.cs index 90bba08..324d963 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgent.g.cs @@ -103,6 +103,9 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgent /// /// /// + /// + /// + /// /// /// /// @@ -110,10 +113,7 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgent /// /// /// - /// /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -134,9 +134,6 @@ public TemplatesGetTemplateSnapshotResponseAgent( { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.SystemPrompt = systemPrompt ?? throw new global::System.ArgumentNullException(nameof(systemPrompt)); - this.AgentType = agentType; - this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.ToolIds = toolIds; this.SourceIds = sourceIds; this.MemoryVariables = memoryVariables; @@ -144,7 +141,10 @@ public TemplatesGetTemplateSnapshotResponseAgent( this.Tags = tags; this.IdentityIds = identityIds; this.ToolRules = toolRules; + this.AgentType = agentType; this.Properties = properties; + this.EntityId = entityId ?? throw new global::System.ArgumentNullException(nameof(entityId)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentMemoryVariablesDataItem.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentMemoryVariablesDataItem.g.cs index e726c61..0f44205 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentMemoryVariablesDataItem.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentMemoryVariablesDataItem.g.cs @@ -38,8 +38,8 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentMemoryVaria /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public TemplatesGetTemplateSnapshotResponseAgentMemoryVariablesDataItem( string? defaultValue) { this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); this.DefaultValue = defaultValue; + this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant1.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant1.g.cs index 14cfb54..f08c6a5 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant1.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant1.g.cs @@ -51,9 +51,9 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentToolRuleVar /// Initializes a new instance of the class. /// /// + /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -66,9 +66,9 @@ public TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant1( global::System.Collections.Generic.IList? childArgNodes) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.Type = type; this.PromptTemplate = promptTemplate; + this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.ChildArgNodes = childArgNodes; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant4.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant4.g.cs index 48e594d..42278b9 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant4.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant4.g.cs @@ -57,10 +57,10 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentToolRuleVar /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -74,10 +74,10 @@ public TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant4( bool? requireOutputMapping) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.ChildOutputMapping = childOutputMapping ?? throw new global::System.ArgumentNullException(nameof(childOutputMapping)); this.Type = type; this.PromptTemplate = promptTemplate; this.DefaultChild = defaultChild; + this.ChildOutputMapping = childOutputMapping ?? throw new global::System.ArgumentNullException(nameof(childOutputMapping)); this.RequireOutputMapping = requireOutputMapping; } diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant7.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant7.g.cs index 8c7c0c0..4328a15 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant7.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant7.g.cs @@ -45,9 +45,9 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentToolRuleVar /// Initializes a new instance of the class. /// /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant7( string? promptTemplate) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.MaxCountLimit = maxCountLimit; this.Type = type; this.PromptTemplate = promptTemplate; + this.MaxCountLimit = maxCountLimit; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant8.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant8.g.cs index ef4dddd..2eb69a0 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant8.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant8.g.cs @@ -45,9 +45,9 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentToolRuleVar /// Initializes a new instance of the class. /// /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public TemplatesGetTemplateSnapshotResponseAgentToolRuleVariant8( string? promptTemplate) { this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); - this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); this.Type = type; this.PromptTemplate = promptTemplate; + this.Children = children ?? throw new global::System.ArgumentNullException(nameof(children)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolVariablesDataItem.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolVariablesDataItem.g.cs index b1d1a9b..286e537 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolVariablesDataItem.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseAgentToolVariablesDataItem.g.cs @@ -38,8 +38,8 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseAgentToolVariabl /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public TemplatesGetTemplateSnapshotResponseAgentToolVariablesDataItem( string? defaultValue) { this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); this.DefaultValue = defaultValue; + this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseBlock.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseBlock.g.cs index d25b1ab..c436ba2 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseBlock.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesGetTemplateSnapshotResponseBlock.g.cs @@ -70,8 +70,8 @@ public sealed partial class TemplatesGetTemplateSnapshotResponseBlock /// /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,8 +89,8 @@ public TemplatesGetTemplateSnapshotResponseBlock( this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Limit = limit; this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); - this.ReadOnly = readOnly; this.PreserveOnMigration = preserveOnMigration; + this.ReadOnly = readOnly; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplateVersionsResponseVersion.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplateVersionsResponseVersion.g.cs index 7ee3a7a..ad62813 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplateVersionsResponseVersion.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplateVersionsResponseVersion.g.cs @@ -50,12 +50,12 @@ public sealed partial class TemplatesListTemplateVersionsResponseVersion /// /// When the version was created /// - /// - /// Version description message - /// /// /// Whether this is the latest version /// + /// + /// Version description message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,8 +67,8 @@ public TemplatesListTemplateVersionsResponseVersion( { this.Version = version ?? throw new global::System.ArgumentNullException(nameof(version)); this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.IsLatest = isLatest; this.Message = message; + this.IsLatest = isLatest; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplatesResponseTemplate.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplatesResponseTemplate.g.cs index e6e43a6..197f8e4 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplatesResponseTemplate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesListTemplatesResponseTemplate.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesListTemplatesResponseTemplate /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesListTemplatesResponseTemplate( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionNoProjectResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionNoProjectResponse.g.cs index 8622e02..4286bb9 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionNoProjectResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionNoProjectResponse.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesSaveTemplateVersionNoProjectResponse /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesSaveTemplateVersionNoProjectResponse( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionResponse.g.cs b/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionResponse.g.cs index 0163343..ca7e52a 100644 --- a/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionResponse.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TemplatesSaveTemplateVersionResponse.g.cs @@ -81,13 +81,13 @@ public sealed partial class TemplatesSaveTemplateVersionResponse /// /// The latest version of the template /// - /// /// /// The full name of the template, including version and project slug /// /// /// When the template was last updated /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -106,9 +106,9 @@ public TemplatesSaveTemplateVersionResponse( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.ProjectSlug = projectSlug ?? throw new global::System.ArgumentNullException(nameof(projectSlug)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); + this.Description = description; this.TemplateDeploymentSlug = templateDeploymentSlug ?? throw new global::System.ArgumentNullException(nameof(templateDeploymentSlug)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.TextContent.g.cs b/src/libs/Letta/Generated/Letta.Models.TextContent.g.cs index c8b16b5..aff6c0b 100644 --- a/src/libs/Letta/Generated/Letta.Models.TextContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.TextContent.g.cs @@ -37,13 +37,13 @@ public sealed partial class TextContent /// /// Initializes a new instance of the class. /// + /// + /// The text content of the message. + /// /// /// The type of the message.
/// Default Value: text /// - /// - /// The text content of the message. - /// /// /// Stores a unique identifier for any reasoning associated with this text content. /// @@ -55,8 +55,8 @@ public TextContent( string? type, string? signature) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Signature = signature; } diff --git a/src/libs/Letta/Generated/Letta.Models.ToolCallContent.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolCallContent.g.cs index b8a6e5c..d998c99 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolCallContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolCallContent.g.cs @@ -51,10 +51,6 @@ public sealed partial class ToolCallContent /// /// Initializes a new instance of the class. /// - /// - /// Indicates this content represents a tool call event.
- /// Default Value: tool_call - /// /// /// A unique identifier for this specific tool call instance. /// @@ -64,6 +60,10 @@ public sealed partial class ToolCallContent /// /// The parameters being passed to the tool, structured as a dictionary of parameter names to values. /// + /// + /// Indicates this content represents a tool call event.
+ /// Default Value: tool_call + /// /// /// Stores a unique identifier for any reasoning associated with this tool call. /// @@ -77,10 +77,10 @@ public ToolCallContent( string? type, string? signature) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); - this.Type = type; this.Signature = signature; } diff --git a/src/libs/Letta/Generated/Letta.Models.ToolCallMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolCallMessage.g.cs index c35d848..8f06516 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolCallMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolCallMessage.g.cs @@ -104,6 +104,7 @@ public sealed partial class ToolCallMessage ///
/// /// + /// /// /// /// The type of the message.
@@ -115,7 +116,6 @@ public sealed partial class ToolCallMessage /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -136,7 +136,6 @@ public ToolCallMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.ToolCall = toolCall; this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -145,6 +144,7 @@ public ToolCallMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.ToolCall = toolCall; this.ToolCalls = toolCalls; } diff --git a/src/libs/Letta/Generated/Letta.Models.ToolCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolCreate.g.cs index ee12497..5ce04a4 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolCreate.g.cs @@ -87,15 +87,15 @@ public sealed partial class ToolCreate /// /// Initializes a new instance of the class. /// + /// + /// The source code of the function. + /// /// /// The description of the tool. /// /// /// Metadata tags. /// - /// - /// The source code of the function. - /// /// /// The source type of the function.
/// Default Value: python @@ -139,9 +139,9 @@ public ToolCreate( bool? defaultRequiresApproval, bool? enableParallelExecution) { - this.SourceCode = sourceCode ?? throw new global::System.ArgumentNullException(nameof(sourceCode)); this.Description = description; this.Tags = tags; + this.SourceCode = sourceCode ?? throw new global::System.ArgumentNullException(nameof(sourceCode)); this.SourceType = sourceType; this.JsonSchema = jsonSchema; this.ArgsJsonSchema = argsJsonSchema; diff --git a/src/libs/Letta/Generated/Letta.Models.ToolEnvVarSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolEnvVarSchema.g.cs index a842d4e..e1e6350 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolEnvVarSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolEnvVarSchema.g.cs @@ -52,10 +52,10 @@ public sealed partial class ToolEnvVarSchema /// Initializes a new instance of the class. ///
/// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public ToolEnvVarSchema( string? description) { this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Description = description; this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key)); this.UpdatedAt = updatedAt ?? throw new global::System.ArgumentNullException(nameof(updatedAt)); this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); - this.Description = description; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ToolReturnContent.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolReturnContent.g.cs index b25f3a1..511693a 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolReturnContent.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolReturnContent.g.cs @@ -45,10 +45,6 @@ public sealed partial class ToolReturnContent /// /// Initializes a new instance of the class. /// - /// - /// Indicates this content represents a tool return event.
- /// Default Value: tool_return - /// /// /// References the ID of the ToolCallContent that initiated this tool call. /// @@ -58,6 +54,10 @@ public sealed partial class ToolReturnContent /// /// Indicates whether the tool execution resulted in an error. /// + /// + /// Indicates this content represents a tool return event.
+ /// Default Value: tool_return + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public ToolReturnContent( bool isError, string? type) { + this.Type = type; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.IsError = isError; - this.Type = type; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ToolReturnCreate.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolReturnCreate.g.cs index f17881e..fe48d59 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolReturnCreate.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolReturnCreate.g.cs @@ -34,13 +34,13 @@ public sealed partial class ToolReturnCreate /// /// Initializes a new instance of the class. /// + /// + /// List of tool returns from client-side execution + /// /// /// The message type to be created.
/// Default Value: tool_return /// - /// - /// List of tool returns from client-side execution - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,8 +48,8 @@ public ToolReturnCreate( global::System.Collections.Generic.IList toolReturns, string? type) { - this.ToolReturns = toolReturns ?? throw new global::System.ArgumentNullException(nameof(toolReturns)); this.Type = type; + this.ToolReturns = toolReturns ?? throw new global::System.ArgumentNullException(nameof(toolReturns)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.ToolReturnMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolReturnMessage.g.cs index 7c002ec..ddc681b 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolReturnMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolReturnMessage.g.cs @@ -136,6 +136,9 @@ public sealed partial class ToolReturnMessage /// /// /// + /// + /// + /// /// /// /// The type of the message.
@@ -147,9 +150,6 @@ public sealed partial class ToolReturnMessage /// /// /// - /// - /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -172,9 +172,6 @@ public ToolReturnMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.ToolReturn = toolReturn ?? throw new global::System.ArgumentNullException(nameof(toolReturn)); - this.Status = status; - this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -183,6 +180,9 @@ public ToolReturnMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.ToolReturn = toolReturn ?? throw new global::System.ArgumentNullException(nameof(toolReturn)); + this.Status = status; + this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); this.ToolReturns = toolReturns; } diff --git a/src/libs/Letta/Generated/Letta.Models.ToolSearchResult.g.cs b/src/libs/Letta/Generated/Letta.Models.ToolSearchResult.g.cs index e326f72..7a79e8f 100644 --- a/src/libs/Letta/Generated/Letta.Models.ToolSearchResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.ToolSearchResult.g.cs @@ -52,6 +52,9 @@ public sealed partial class ToolSearchResult /// /// The matched tool. /// + /// + /// Combined relevance score (RRF for hybrid mode). + /// /// /// The embedded text content used for matching. /// @@ -61,9 +64,6 @@ public sealed partial class ToolSearchResult /// /// Vector search rank position. /// - /// - /// Combined relevance score (RRF for hybrid mode). - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,10 +75,10 @@ public ToolSearchResult( int? vectorRank) { this.Tool = tool ?? throw new global::System.ArgumentNullException(nameof(tool)); - this.CombinedScore = combinedScore; this.EmbeddedText = embeddedText; this.FtsRank = ftsRank; this.VectorRank = vectorRank; + this.CombinedScore = combinedScore; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UpdateAssistantMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.UpdateAssistantMessage.g.cs index cb60c45..cb5e56e 100644 --- a/src/libs/Letta/Generated/Letta.Models.UpdateAssistantMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UpdateAssistantMessage.g.cs @@ -31,12 +31,12 @@ public sealed partial class UpdateAssistantMessage /// /// Initializes a new instance of the class. /// - /// - /// Default Value: assistant_message - /// /// /// The message content sent by the assistant (can be a string or an array of content parts) /// + /// + /// Default Value: assistant_message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public UpdateAssistantMessage( global::Letta.AnyOf, string> content, string? messageType) { - this.Content = content; this.MessageType = messageType; + this.Content = content; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UpdateMCPServerRequest.g.cs b/src/libs/Letta/Generated/Letta.Models.UpdateMCPServerRequest.g.cs index 29e15f0..33ad8f4 100644 --- a/src/libs/Letta/Generated/Letta.Models.UpdateMCPServerRequest.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UpdateMCPServerRequest.g.cs @@ -31,12 +31,12 @@ public sealed partial class UpdateMCPServerRequest /// /// Initializes a new instance of the class. /// - /// - /// The name of the MCP server - /// /// /// The MCP server configuration updates (Stdio, SSE, or Streamable HTTP) /// + /// + /// The name of the MCP server + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public UpdateMCPServerRequest( global::Letta.Config4 config, string? serverName) { - this.Config = config; this.ServerName = serverName; + this.Config = config; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UpdateSystemMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.UpdateSystemMessage.g.cs index 2af875e..1614346 100644 --- a/src/libs/Letta/Generated/Letta.Models.UpdateSystemMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UpdateSystemMessage.g.cs @@ -30,12 +30,12 @@ public sealed partial class UpdateSystemMessage /// /// Initializes a new instance of the class. /// - /// - /// Default Value: system_message - /// /// /// The message content sent by the system (can be a string or an array of multi-modal content parts) /// + /// + /// Default Value: system_message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public UpdateSystemMessage( string content, string? messageType) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.MessageType = messageType; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UpdateUserMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.UpdateUserMessage.g.cs index faa4e3d..3b81490 100644 --- a/src/libs/Letta/Generated/Letta.Models.UpdateUserMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UpdateUserMessage.g.cs @@ -31,12 +31,12 @@ public sealed partial class UpdateUserMessage /// /// Initializes a new instance of the class. /// - /// - /// Default Value: user_message - /// /// /// The message content sent by the user (can be a string or an array of multi-modal content parts) /// + /// + /// Default Value: user_message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public UpdateUserMessage( global::Letta.AnyOf, string> content, string? messageType) { - this.Content = content; this.MessageType = messageType; + this.Content = content; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UrlImage.g.cs b/src/libs/Letta/Generated/Letta.Models.UrlImage.g.cs index d565983..685d099 100644 --- a/src/libs/Letta/Generated/Letta.Models.UrlImage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UrlImage.g.cs @@ -31,13 +31,13 @@ public sealed partial class UrlImage /// /// Initializes a new instance of the class. /// + /// + /// The URL of the image. + /// /// /// The source type for the image.
/// Default Value: url /// - /// - /// The URL of the image. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public UrlImage( string url, string? type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/Letta/Generated/Letta.Models.User.g.cs b/src/libs/Letta/Generated/Letta.Models.User.g.cs index ba4112d..1b55e4e 100644 --- a/src/libs/Letta/Generated/Letta.Models.User.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.User.g.cs @@ -49,12 +49,12 @@ public sealed partial class User /// /// Initializes a new instance of the class. /// - /// - /// The human-friendly ID of the User - /// /// /// The name of the user. /// + /// + /// The human-friendly ID of the User + /// /// /// The creation date of the user. /// @@ -75,8 +75,8 @@ public User( global::System.DateTime? updatedAt, bool? isDeleted) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Id = id; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.IsDeleted = isDeleted; diff --git a/src/libs/Letta/Generated/Letta.Models.UserMessage.g.cs b/src/libs/Letta/Generated/Letta.Models.UserMessage.g.cs index 4085ddd..183cc5b 100644 --- a/src/libs/Letta/Generated/Letta.Models.UserMessage.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UserMessage.g.cs @@ -95,6 +95,9 @@ public sealed partial class UserMessage /// /// /// + /// + /// The message content sent by the user (can be a string or an array of multi-modal content parts) + /// /// /// /// The type of the message.
@@ -106,9 +109,6 @@ public sealed partial class UserMessage /// /// /// - /// - /// The message content sent by the user (can be a string or an array of multi-modal content parts) - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -127,7 +127,6 @@ public UserMessage( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Date = date; - this.Content = content; this.Name = name; this.MessageType = messageType; this.Otid = otid; @@ -136,6 +135,7 @@ public UserMessage( this.IsErr = isErr; this.SeqId = seqId; this.RunId = runId; + this.Content = content; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.UserMessageListResult.g.cs b/src/libs/Letta/Generated/Letta.Models.UserMessageListResult.g.cs index dab6d33..7b2d40b 100644 --- a/src/libs/Letta/Generated/Letta.Models.UserMessageListResult.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.UserMessageListResult.g.cs @@ -58,24 +58,24 @@ public sealed partial class UserMessageListResult /// /// Initializes a new instance of the class. /// - /// - /// Default Value: user_message - /// /// /// The message content sent by the user (can be a string or an array of multi-modal content parts) /// /// /// The unique identifier of the message. /// + /// + /// The time the message was created in ISO format. + /// + /// + /// Default Value: user_message + /// /// /// The unique identifier of the agent that owns the message. /// /// /// The unique identifier of the conversation that the message belongs to. /// - /// - /// The time the message was created in ISO format. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public UserMessageListResult( string? agentId, string? conversationId) { + this.MessageType = messageType; this.Content = content; this.MessageId = messageId ?? throw new global::System.ArgumentNullException(nameof(messageId)); - this.CreatedAt = createdAt; - this.MessageType = messageType; this.AgentId = agentId; this.ConversationId = conversationId; + this.CreatedAt = createdAt; } /// diff --git a/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManager.g.cs b/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManager.g.cs index 6ed9a70..518f19f 100644 --- a/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManager.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManager.g.cs @@ -42,10 +42,10 @@ public sealed partial class VoiceSleeptimeManager /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: voice_sleeptime /// - /// /// /// The desired maximum length of messages in the context window of the convo agent. This is a best effort, and may be off slightly due to user/assistant interleaving. /// @@ -61,8 +61,8 @@ public VoiceSleeptimeManager( int? maxMessageBufferLength, int? minMessageBufferLength) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.MaxMessageBufferLength = maxMessageBufferLength; this.MinMessageBufferLength = minMessageBufferLength; } diff --git a/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManagerSchema.g.cs b/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManagerSchema.g.cs index ae40293..d8380fe 100644 --- a/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManagerSchema.g.cs +++ b/src/libs/Letta/Generated/Letta.Models.VoiceSleeptimeManagerSchema.g.cs @@ -42,10 +42,10 @@ public sealed partial class VoiceSleeptimeManagerSchema /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: voice_sleeptime /// - /// /// /// #if NET7_0_OR_GREATER @@ -57,8 +57,8 @@ public VoiceSleeptimeManagerSchema( int? maxMessageBufferLength, int? minMessageBufferLength) { - this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.ManagerType = managerType; + this.ManagerAgentId = managerAgentId ?? throw new global::System.ArgumentNullException(nameof(managerAgentId)); this.MaxMessageBufferLength = maxMessageBufferLength; this.MinMessageBufferLength = minMessageBufferLength; }