Skip to content

Commit 554c4a9

Browse files
feat: chore; regen
1 parent 4f05e2b commit 554c4a9

File tree

10 files changed

+22
-82
lines changed

10 files changed

+22
-82
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 110
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/letta-ai%2Fletta-sdk-ec39d7c99b40145684b050a50b234f6b9ba2933090f986956bf9e32ed8755043.yml
3-
openapi_spec_hash: 0962293b13f6ee752eee69797cfa9af6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/letta-ai%2Fletta-sdk-09209078d6bc39a8ee9c8d24aff32e95840d4fcb976746789d394e3662658c8b.yml
3+
openapi_spec_hash: a7867a680e40f4634a9a9f4b51458f44
44
config_hash: 5684f2f1dceb539aa7b512f6b1e2add7

src/resources/agents/agents.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -254,16 +254,6 @@ export interface AgentEnvironmentVariable {
254254
* Representation of an agent's state. This is the state of the agent at a given
255255
* time, and is persisted in the DB backend. The state has all the information
256256
* needed to recreate a persisted agent.
257-
*
258-
* Parameters: id (str): The unique identifier of the agent. name (str): The name
259-
* of the agent (must be unique to the user). created_at (datetime): The datetime
260-
* the agent was created. message_ids (List[str]): The ids of the messages in the
261-
* agent's in-context memory. memory (Memory): The in-context memory of the agent.
262-
* tools (List[str]): The tools used by the agent. This includes any memory editing
263-
* functions specified in `memory`. system (str): The system prompt used by the
264-
* agent. llm_config (LLMConfig): The LLM configuration used by the agent.
265-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
266-
* agent.
267257
*/
268258
export interface AgentState {
269259
/**
@@ -644,13 +634,8 @@ export namespace AgentState {
644634
}
645635

646636
/**
647-
* Representation of a source, which is a collection of files and passages.
648-
*
649-
* Parameters: id (str): The ID of the source name (str): The name of the source.
650-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
651-
* source. user_id (str): The ID of the user that created the source. metadata
652-
* (dict): Metadata associated with the source. description (str): The description
653-
* of the source.
637+
* (Deprecated: Use Folder) Representation of a source, which is a collection of
638+
* files and passages.
654639
*/
655640
export interface Source {
656641
/**
@@ -717,6 +702,11 @@ export namespace AgentState {
717702
* The maximum number of tokens the model can generate.
718703
*/
719704
max_output_tokens?: number;
705+
706+
/**
707+
* Whether to enable parallel tool calling.
708+
*/
709+
parallel_tool_calls?: boolean;
720710
}
721711
}
722712

@@ -1341,6 +1331,11 @@ export namespace AgentCreateParams {
13411331
* The maximum number of tokens the model can generate.
13421332
*/
13431333
max_output_tokens?: number;
1334+
1335+
/**
1336+
* Whether to enable parallel tool calling.
1337+
*/
1338+
parallel_tool_calls?: boolean;
13441339
}
13451340
}
13461341

@@ -1724,6 +1719,11 @@ export namespace AgentModifyParams {
17241719
* The maximum number of tokens the model can generate.
17251720
*/
17261721
max_output_tokens?: number;
1722+
1723+
/**
1724+
* Whether to enable parallel tool calling.
1725+
*/
1726+
parallel_tool_calls?: boolean;
17271727
}
17281728
}
17291729

src/resources/agents/blocks.ts

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,7 @@ export class Blocks extends APIResource {
7878
}
7979

8080
/**
81-
* A Block represents a reserved section of the LLM's context window which is
82-
* editable. `Block` objects contained in the `Memory` object, which is able to
83-
* edit the Block values.
84-
*
85-
* Parameters: label (str): The label of the block (e.g. 'human', 'persona'). This
86-
* defines a category for the block. value (str): The value of the block. This is
87-
* the string that is represented in the context window. limit (int): The character
88-
* limit of the block. is_template (bool): Whether the block is a template (e.g.
89-
* saved human/persona options). Non-template blocks are not stored in the database
90-
* and are ephemeral, while templated blocks are stored in the database. label
91-
* (str): The label of the block (e.g. 'human', 'persona'). This defines a category
92-
* for the block. template_name (str): The name of the block template (if it is a
93-
* template). description (str): Description of the block. metadata (Dict):
94-
* Metadata of the block. user_id (str): The unique identifier of the user
95-
* associated with the block.
81+
* A Block represents a reserved section of the LLM's context window.
9682
*/
9783
export interface Block {
9884
/**

src/resources/agents/folders.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,8 @@ export class Folders extends APIResource {
5252
export type FolderListResponsesArrayPage = ArrayPage<FolderListResponse>;
5353

5454
/**
55-
* Representation of a source, which is a collection of files and passages.
56-
*
57-
* Parameters: id (str): The ID of the source name (str): The name of the source.
58-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
59-
* source. user_id (str): The ID of the user that created the source. metadata
60-
* (dict): Metadata associated with the source. description (str): The description
61-
* of the source.
55+
* (Deprecated: Use Folder) Representation of a source, which is a collection of
56+
* files and passages.
6257
*/
6358
export interface FolderListResponse {
6459
/**

src/resources/agents/messages.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,16 +1362,6 @@ export interface RedactedReasoningContent {
13621362
* Representation of a run - a conversation or processing session for an agent.
13631363
* Runs track when agents process messages and maintain the relationship between
13641364
* agents, steps, and messages.
1365-
*
1366-
* Parameters: id (str): The unique identifier of the run (prefixed with 'run-').
1367-
* status (JobStatus): The current status of the run. created_at (datetime): The
1368-
* timestamp when the run was created. completed_at (datetime): The timestamp when
1369-
* the run was completed. agent_id (str): The unique identifier of the agent
1370-
* associated with the run. base_template_id (str): The base template ID that the
1371-
* run belongs to. stop_reason (StopReasonType): The reason why the run was
1372-
* stopped. background (bool): Whether the run was created in background mode.
1373-
* metadata (dict): Additional metadata for the run. request_config
1374-
* (LettaRequestConfig): The request configuration for the run.
13751365
*/
13761366
export interface Run {
13771367
/**

src/resources/archives.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ export type ArchivesArrayPage = ArrayPage<Archive>;
5353
/**
5454
* Representation of an archive - a collection of archival passages that can be
5555
* shared between agents.
56-
*
57-
* Parameters: id (str): The unique identifier of the archive. name (str): The name
58-
* of the archive. description (str): A description of the archive. organization_id
59-
* (str): The organization this archive belongs to. created_at (datetime): The
60-
* creation date of the archive. metadata (dict): Additional metadata for the
61-
* archive.
6256
*/
6357
export interface Archive {
6458
/**

src/resources/folders/folders.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ export type FoldersArrayPage = ArrayPage<Folder>;
6666

6767
/**
6868
* Representation of a folder, which is a collection of files and passages.
69-
*
70-
* Parameters: id (str): The ID of the folder name (str): The name of the folder.
71-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
72-
* folder. user_id (str): The ID of the user that created the folder. metadata
73-
* (dict): Metadata associated with the folder. description (str): The description
74-
* of the folder.
7569
*/
7670
export interface Folder {
7771
/**

src/resources/mcp-servers/mcp-servers.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -302,16 +302,6 @@ export interface ToolExecutionResult {
302302
* Representation of an agent's state. This is the state of the agent at a given
303303
* time, and is persisted in the DB backend. The state has all the information
304304
* needed to recreate a persisted agent.
305-
*
306-
* Parameters: id (str): The unique identifier of the agent. name (str): The name
307-
* of the agent (must be unique to the user). created_at (datetime): The datetime
308-
* the agent was created. message_ids (List[str]): The ids of the messages in the
309-
* agent's in-context memory. memory (Memory): The in-context memory of the agent.
310-
* tools (List[str]): The tools used by the agent. This includes any memory editing
311-
* functions specified in `memory`. system (str): The system prompt used by the
312-
* agent. llm_config (LLMConfig): The LLM configuration used by the agent.
313-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
314-
* agent.
315305
*/
316306
agent_state?: AgentsAPI.AgentState | null;
317307

src/resources/runs/runs.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ export class Runs extends APIResource {
4040
/**
4141
* Representation of offline jobs, used for tracking status of data loading tasks
4242
* (involving parsing and embedding files).
43-
*
44-
* Parameters: id (str): The unique identifier of the job. status (JobStatus): The
45-
* status of the job. created_at (datetime): The unix timestamp of when the job was
46-
* created. completed_at (datetime): The unix timestamp of when the job was
47-
* completed. user_id (str): The unique identifier of the user associated with the.
4843
*/
4944
export interface Job {
5045
/**

src/resources/tools.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ export interface PipRequirement {
8989

9090
/**
9191
* Representation of a tool, which is a function that can be called by the agent.
92-
*
93-
* Parameters: id (str): The unique identifier of the tool. name (str): The name of
94-
* the function. tags (List[str]): Metadata tags. source_code (str): The source
95-
* code of the function. json_schema (Dict): The JSON schema of the function.
9692
*/
9793
export interface Tool {
9894
/**

0 commit comments

Comments
 (0)