@letta-ai/letta-client 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.d.ts +38 -2
- package/api/resources/agents/client/Client.js +184 -26
- package/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +10 -0
- package/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
- package/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +15 -0
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +4 -0
- package/api/resources/agents/client/requests/index.d.ts +2 -0
- package/api/resources/agents/resources/archivalMemory/client/Client.js +8 -8
- package/api/resources/agents/resources/context/client/Client.js +2 -2
- package/api/resources/agents/resources/memory/client/Client.js +2 -2
- package/api/resources/agents/resources/memory/resources/messages/client/Client.js +2 -2
- package/api/resources/agents/resources/memoryBlocks/client/Client.js +4 -4
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +0 -3
- package/api/resources/agents/resources/recallMemory/client/Client.js +2 -2
- package/api/resources/agents/resources/sources/client/Client.js +2 -2
- package/api/resources/agents/resources/tools/client/Client.js +6 -6
- package/api/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +6 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +8 -0
- package/api/{types/LettaResponseToolReturnMessageStatus.js → resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js} +4 -4
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +5 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js +10 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js +10 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js +11 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts +7 -0
- package/api/resources/agents/types/index.d.ts +9 -1
- package/api/resources/agents/types/index.js +9 -1
- package/api/resources/blocks/client/Client.js +14 -14
- package/api/resources/health/client/Client.js +2 -2
- package/api/resources/jobs/client/Client.js +8 -8
- package/api/resources/models/client/Client.js +4 -4
- package/api/resources/sources/client/Client.js +16 -16
- package/api/resources/sources/resources/files/client/Client.js +6 -6
- package/api/resources/sources/resources/passages/client/Client.js +2 -2
- package/api/resources/tools/client/Client.js +24 -24
- package/api/types/InternalServerErrorBody.d.ts +1 -1
- package/api/types/LettaResponse.d.ts +12 -62
- package/api/types/LettaUsageStatistics.d.ts +1 -0
- package/api/types/NotFoundErrorBody.d.ts +1 -2
- package/api/types/index.d.ts +0 -13
- package/api/types/index.js +0 -13
- package/dist/api/resources/agents/client/Client.d.ts +38 -2
- package/dist/api/resources/agents/client/Client.js +184 -26
- package/dist/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +10 -0
- package/dist/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
- package/dist/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +15 -0
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +4 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +2 -0
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/context/client/Client.js +2 -2
- package/dist/api/resources/agents/resources/memory/client/Client.js +2 -2
- package/dist/api/resources/agents/resources/memory/resources/messages/client/Client.js +2 -2
- package/dist/api/resources/agents/resources/memoryBlocks/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +0 -3
- package/dist/api/resources/agents/resources/recallMemory/client/Client.js +2 -2
- package/dist/api/resources/agents/resources/sources/client/Client.js +2 -2
- package/dist/api/resources/agents/resources/tools/client/Client.js +6 -6
- package/dist/api/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +6 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +8 -0
- package/dist/api/{types/LettaResponseToolReturnMessageStatus.js → resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js} +4 -4
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +5 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js +10 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js +10 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js +11 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts +7 -0
- package/dist/api/resources/agents/types/index.d.ts +9 -1
- package/dist/api/resources/agents/types/index.js +9 -1
- package/dist/api/resources/blocks/client/Client.js +14 -14
- package/dist/api/resources/health/client/Client.js +2 -2
- package/dist/api/resources/jobs/client/Client.js +8 -8
- package/dist/api/resources/models/client/Client.js +4 -4
- package/dist/api/resources/sources/client/Client.js +16 -16
- package/dist/api/resources/sources/resources/files/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/passages/client/Client.js +2 -2
- package/dist/api/resources/tools/client/Client.js +24 -24
- package/dist/api/types/InternalServerErrorBody.d.ts +1 -1
- package/dist/api/types/LettaResponse.d.ts +12 -62
- package/dist/api/types/LettaUsageStatistics.d.ts +1 -0
- package/dist/api/types/NotFoundErrorBody.d.ts +1 -2
- package/dist/api/types/index.d.ts +0 -13
- package/dist/api/types/index.js +0 -13
- package/dist/environments.d.ts +2 -2
- package/dist/environments.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +2 -2
- package/environments.js +1 -1
- package/package.json +1 -1
- package/reference.md +199 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/types/AgentsCreateVersionResponse.d.ts +0 -7
- package/api/types/LettaResponseAssistantMessage.d.ts +0 -9
- package/api/types/LettaResponseLettaUsageStatistics.d.ts +0 -22
- package/api/types/LettaResponseReasoningMessage.d.ts +0 -17
- package/api/types/LettaResponseSystemMessage.d.ts +0 -17
- package/api/types/LettaResponseToolCall.d.ts +0 -8
- package/api/types/LettaResponseToolCallDelta.d.ts +0 -8
- package/api/types/LettaResponseToolCallMessage.d.ts +0 -18
- package/api/types/LettaResponseToolCallMessageToolCall.d.ts +0 -5
- package/api/types/LettaResponseToolCallMessageToolCallOne.d.ts +0 -8
- package/api/types/LettaResponseToolCallMessageToolCallZero.d.ts +0 -8
- package/api/types/LettaResponseToolReturnMessage.d.ts +0 -26
- package/api/types/LettaResponseToolReturnMessageStatus.d.ts +0 -8
- package/api/types/LettaResponseUserMessage.d.ts +0 -17
- package/dist/api/resources/agents/types/AgentsCreateVersionResponse.d.ts +0 -7
- package/dist/api/types/LettaResponseAssistantMessage.d.ts +0 -9
- package/dist/api/types/LettaResponseAssistantMessage.js +0 -5
- package/dist/api/types/LettaResponseLettaUsageStatistics.d.ts +0 -22
- package/dist/api/types/LettaResponseLettaUsageStatistics.js +0 -5
- package/dist/api/types/LettaResponseReasoningMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseReasoningMessage.js +0 -5
- package/dist/api/types/LettaResponseSystemMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseSystemMessage.js +0 -5
- package/dist/api/types/LettaResponseToolCall.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCall.js +0 -5
- package/dist/api/types/LettaResponseToolCallDelta.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallDelta.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessage.d.ts +0 -18
- package/dist/api/types/LettaResponseToolCallMessage.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCall.d.ts +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCall.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCallOne.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallMessageToolCallOne.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCallZero.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallMessageToolCallZero.js +0 -5
- package/dist/api/types/LettaResponseToolReturnMessage.d.ts +0 -26
- package/dist/api/types/LettaResponseToolReturnMessage.js +0 -5
- package/dist/api/types/LettaResponseToolReturnMessageStatus.d.ts +0 -8
- package/dist/api/types/LettaResponseUserMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseUserMessage.js +0 -5
- /package/api/resources/agents/{types/AgentsCreateVersionResponse.js → client/requests/AgentsCreateTemplateFromAgentRequest.js} +0 -0
- /package/api/{types/LettaResponseAssistantMessage.js → resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js} +0 -0
- /package/api/{types/LettaResponseLettaUsageStatistics.js → resources/agents/types/AgentsGetAgentVariablesResponse.js} +0 -0
- /package/api/{types/LettaResponseReasoningMessage.js → resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js} +0 -0
- /package/api/{types/LettaResponseSystemMessage.js → resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.js} +0 -0
- /package/api/{types/LettaResponseToolCall.js → resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.js} +0 -0
- /package/api/{types/LettaResponseToolCallDelta.js → resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessage.js → dist/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessageToolCall.js → dist/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessageToolCallOne.js → dist/api/resources/agents/types/AgentsGetAgentVariablesResponse.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessageToolCallZero.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js} +0 -0
- /package/{api/types/LettaResponseToolReturnMessage.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.js} +0 -0
- /package/{api/types/LettaResponseUserMessage.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.js} +0 -0
- /package/dist/api/resources/agents/types/{AgentsCreateVersionResponse.js → AgentsSearchDeployedAgentsRequestSearchItemZero.js} +0 -0
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Representation of an agent's internal reasoning.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* reasoning (str): The internal reasoning of the agent
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseReasoningMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "reasoning_message";
|
|
16
|
-
reasoning: string;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A message generated by the system. Never streamed back on a response, only used for cursor pagination.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* message (str): The message sent by the system
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseSystemMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "system_message";
|
|
16
|
-
message: string;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* A message representing a request to call a tool (generated by the LLM to trigger tool execution).
|
|
7
|
-
*
|
|
8
|
-
* Attributes:
|
|
9
|
-
* tool_call (Union[ToolCall, ToolCallDelta]): The tool call
|
|
10
|
-
* id (str): The ID of the message
|
|
11
|
-
* date (datetime): The date the message was created in ISO format
|
|
12
|
-
*/
|
|
13
|
-
export interface LettaResponseToolCallMessage {
|
|
14
|
-
id: string;
|
|
15
|
-
date: string;
|
|
16
|
-
message_type?: "tool_call_message";
|
|
17
|
-
tool_call: Letta.LettaResponseToolCallMessageToolCall;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* A message representing the return value of a tool call (generated by Letta executing the requested tool).
|
|
7
|
-
*
|
|
8
|
-
* Attributes:
|
|
9
|
-
* tool_return (str): The return value of the tool
|
|
10
|
-
* status (Literal["success", "error"]): The status of the tool call
|
|
11
|
-
* id (str): The ID of the message
|
|
12
|
-
* date (datetime): The date the message was created in ISO format
|
|
13
|
-
* tool_call_id (str): A unique identifier for the tool call that generated this message
|
|
14
|
-
* stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation
|
|
15
|
-
* stderr (Optional[List(str)]): Captured stderr from the tool invocation
|
|
16
|
-
*/
|
|
17
|
-
export interface LettaResponseToolReturnMessage {
|
|
18
|
-
id: string;
|
|
19
|
-
date: string;
|
|
20
|
-
message_type?: "tool_return_message";
|
|
21
|
-
tool_return: string;
|
|
22
|
-
status: Letta.LettaResponseToolReturnMessageStatus;
|
|
23
|
-
tool_call_id: string;
|
|
24
|
-
stdout?: string[];
|
|
25
|
-
stderr?: string[];
|
|
26
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type LettaResponseToolReturnMessageStatus = "success" | "error";
|
|
5
|
-
export declare const LettaResponseToolReturnMessageStatus: {
|
|
6
|
-
readonly Success: "success";
|
|
7
|
-
readonly Error: "error";
|
|
8
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A message sent by the user. Never streamed back on a response, only used for cursor pagination.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* message (str): The message sent by the user
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseUserMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "user_message";
|
|
16
|
-
message: string;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Usage statistics for the agent interaction.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* completion_tokens (int): The number of tokens generated by the agent.
|
|
9
|
-
* prompt_tokens (int): The number of tokens in the prompt.
|
|
10
|
-
* total_tokens (int): The total number of tokens processed by the agent.
|
|
11
|
-
* step_count (int): The number of steps taken by the agent.
|
|
12
|
-
*/
|
|
13
|
-
export interface LettaResponseLettaUsageStatistics {
|
|
14
|
-
/** The number of tokens generated by the agent. */
|
|
15
|
-
completion_tokens?: number;
|
|
16
|
-
/** The number of tokens in the prompt. */
|
|
17
|
-
prompt_tokens?: number;
|
|
18
|
-
/** The total number of tokens processed by the agent. */
|
|
19
|
-
total_tokens?: number;
|
|
20
|
-
/** The number of steps taken by the agent. */
|
|
21
|
-
step_count?: number;
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Representation of an agent's internal reasoning.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* reasoning (str): The internal reasoning of the agent
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseReasoningMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "reasoning_message";
|
|
16
|
-
reasoning: string;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A message generated by the system. Never streamed back on a response, only used for cursor pagination.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* message (str): The message sent by the system
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseSystemMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "system_message";
|
|
16
|
-
message: string;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* A message representing a request to call a tool (generated by the LLM to trigger tool execution).
|
|
7
|
-
*
|
|
8
|
-
* Attributes:
|
|
9
|
-
* tool_call (Union[ToolCall, ToolCallDelta]): The tool call
|
|
10
|
-
* id (str): The ID of the message
|
|
11
|
-
* date (datetime): The date the message was created in ISO format
|
|
12
|
-
*/
|
|
13
|
-
export interface LettaResponseToolCallMessage {
|
|
14
|
-
id: string;
|
|
15
|
-
date: string;
|
|
16
|
-
message_type?: "tool_call_message";
|
|
17
|
-
tool_call: Letta.LettaResponseToolCallMessageToolCall;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* A message representing the return value of a tool call (generated by Letta executing the requested tool).
|
|
7
|
-
*
|
|
8
|
-
* Attributes:
|
|
9
|
-
* tool_return (str): The return value of the tool
|
|
10
|
-
* status (Literal["success", "error"]): The status of the tool call
|
|
11
|
-
* id (str): The ID of the message
|
|
12
|
-
* date (datetime): The date the message was created in ISO format
|
|
13
|
-
* tool_call_id (str): A unique identifier for the tool call that generated this message
|
|
14
|
-
* stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation
|
|
15
|
-
* stderr (Optional[List(str)]): Captured stderr from the tool invocation
|
|
16
|
-
*/
|
|
17
|
-
export interface LettaResponseToolReturnMessage {
|
|
18
|
-
id: string;
|
|
19
|
-
date: string;
|
|
20
|
-
message_type?: "tool_return_message";
|
|
21
|
-
tool_return: string;
|
|
22
|
-
status: Letta.LettaResponseToolReturnMessageStatus;
|
|
23
|
-
tool_call_id: string;
|
|
24
|
-
stdout?: string[];
|
|
25
|
-
stderr?: string[];
|
|
26
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type LettaResponseToolReturnMessageStatus = "success" | "error";
|
|
5
|
-
export declare const LettaResponseToolReturnMessageStatus: {
|
|
6
|
-
readonly Success: "success";
|
|
7
|
-
readonly Error: "error";
|
|
8
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A message sent by the user. Never streamed back on a response, only used for cursor pagination.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* message (str): The message sent by the user
|
|
9
|
-
* id (str): The ID of the message
|
|
10
|
-
* date (datetime): The date the message was created in ISO format
|
|
11
|
-
*/
|
|
12
|
-
export interface LettaResponseUserMessage {
|
|
13
|
-
id: string;
|
|
14
|
-
date: string;
|
|
15
|
-
message_type?: "user_message";
|
|
16
|
-
message: string;
|
|
17
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|