Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/libs/Letta/Generated/Letta.Models.AgentEnvironmentVariable.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ public sealed partial class AgentEnvironmentVariable
/// <summary>
/// Initializes a new instance of the <see cref="AgentEnvironmentVariable" /> class.
/// </summary>
/// <param name="key">
/// The name of the environment variable.
/// </param>
/// <param name="value">
/// The value of the environment variable.
/// </param>
/// <param name="agentId">
/// The ID of the agent this environment variable belongs to.
/// </param>
/// <param name="createdById">
/// The id of the user that made this object.
/// </param>
Expand All @@ -95,21 +104,12 @@ public sealed partial class AgentEnvironmentVariable
/// <param name="id">
/// The human-friendly ID of the Agent-env
/// </param>
/// <param name="key">
/// The name of the environment variable.
/// </param>
/// <param name="value">
/// The value of the environment variable.
/// </param>
/// <param name="description">
/// An optional description of the environment variable.
/// </param>
/// <param name="valueEnc">
/// Encrypted value as Secret object
/// </param>
/// <param name="agentId">
/// The ID of the agent this environment variable belongs to.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
80 changes: 40 additions & 40 deletions src/libs/Letta/Generated/Letta.Models.AgentState.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,36 @@ public sealed partial class AgentState
/// <summary>
/// Initializes a new instance of the <see cref="AgentState" /> class.
/// </summary>
/// <param name="id">
/// The id of the agent. Assigned by the database.
/// </param>
/// <param name="name">
/// The name of the agent.
/// </param>
/// <param name="system">
/// The system prompt used by the agent.
/// </param>
/// <param name="agentType">
/// The type of agent.
/// </param>
/// <param name="llmConfig">
/// Deprecated: Use `model` field instead. The LLM configuration used by the agent.
/// </param>
/// <param name="memory">
/// Deprecated: Use `blocks` field instead. The in-context memory of the agent.
/// </param>
/// <param name="blocks">
/// The memory blocks used by the agent.
/// </param>
/// <param name="tools">
/// The tools used by the agent.
/// </param>
/// <param name="sources">
/// Deprecated: Use `folders` field instead. The sources used by the agent.
/// </param>
/// <param name="tags">
/// The tags associated with the agent.
/// </param>
/// <param name="createdById">
/// The id of the user that made this object.
/// </param>
Expand All @@ -319,27 +349,12 @@ public sealed partial class AgentState
/// <param name="updatedAt">
/// The timestamp when the object was last updated.
/// </param>
/// <param name="id">
/// The id of the agent. Assigned by the database.
/// </param>
/// <param name="name">
/// The name of the agent.
/// </param>
/// <param name="toolRules">
/// The list of tool rules.
/// </param>
/// <param name="messageIds">
/// The ids of the messages in the agent's in-context memory.
/// </param>
/// <param name="system">
/// The system prompt used by the agent.
/// </param>
/// <param name="agentType">
/// The type of agent.
/// </param>
/// <param name="llmConfig">
/// Deprecated: Use `model` field instead. The LLM configuration used by the agent.
/// </param>
/// <param name="model">
/// The model handle used by the agent (format: provider/model-name).
/// </param>
Expand All @@ -361,21 +376,6 @@ public sealed partial class AgentState
/// <param name="metadata">
/// The metadata of the agent.
/// </param>
/// <param name="memory">
/// Deprecated: Use `blocks` field instead. The in-context memory of the agent.
/// </param>
/// <param name="blocks">
/// The memory blocks used by the agent.
/// </param>
/// <param name="tools">
/// The tools used by the agent.
/// </param>
/// <param name="sources">
/// Deprecated: Use `folders` field instead. The sources used by the agent.
/// </param>
/// <param name="tags">
/// The tags associated with the agent.
/// </param>
/// <param name="secrets">
/// The environment variables for tool execution specific to this agent.
/// </param>
Expand Down Expand Up @@ -478,29 +478,29 @@ 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;
this.CompactionSettings = compactionSettings;
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant1
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant1" /> class.
/// </summary>
/// <param name="field"></param>
/// <param name="value"></param>
/// <param name="field"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant2
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant2" /> class.
/// </summary>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
/// <param name="field"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant3
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant3" /> class.
/// </summary>
/// <param name="value"></param>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant4
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant4" /> class.
/// </summary>
/// <param name="value"></param>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant5
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant5" /> class.
/// </summary>
/// <param name="value"></param>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class AgentsCountDeployedAgentsSearchItemVariant6
/// <summary>
/// Initializes a new instance of the <see cref="AgentsCountDeployedAgentsSearchItemVariant6" /> class.
/// </summary>
/// <param name="value"></param>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant1
/// <summary>
/// Initializes a new instance of the <see cref="AgentsSearchDeployedAgentsRequestSearchItemVariant1" /> class.
/// </summary>
/// <param name="field"></param>
/// <param name="value"></param>
/// <param name="field"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant2
/// <summary>
/// Initializes a new instance of the <see cref="AgentsSearchDeployedAgentsRequestSearchItemVariant2" /> class.
/// </summary>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
/// <param name="field"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class AgentsSearchDeployedAgentsRequestSearchItemVariant3
/// <summary>
/// Initializes a new instance of the <see cref="AgentsSearchDeployedAgentsRequestSearchItemVariant3" /> class.
/// </summary>
/// <param name="value"></param>
/// <param name="field"></param>
/// <param name="operator"></param>
/// <param name="value"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Loading