diff --git a/fern/openapi.json b/fern/openapi.json index d9ea20c8..2b5a7a75 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -30775,20 +30775,23 @@ "use_assistant_message": { "type": "boolean", "title": "Use Assistant Message", - "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects.", - "default": true + "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": true, + "deprecated": true }, "assistant_message_tool_name": { "type": "string", "title": "Assistant Message Tool Name", - "description": "The name of the designated message tool.", - "default": "send_message" + "description": "The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "send_message", + "deprecated": true }, "assistant_message_tool_kwarg": { "type": "string", "title": "Assistant Message Tool Kwarg", - "description": "The name of the message argument in the designated message tool.", - "default": "message" + "description": "The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "message", + "deprecated": true }, "include_return_message_types": { "anyOf": [ @@ -30809,7 +30812,8 @@ "type": "string", "title": "Enable Thinking", "description": "If set to True, enables reasoning before responses or tool calls from the agent.", - "default": true + "default": true, + "deprecated": true }, "callback_url": { "anyOf": [ @@ -30868,20 +30872,23 @@ "use_assistant_message": { "type": "boolean", "title": "Use Assistant Message", - "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects.", - "default": true + "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": true, + "deprecated": true }, "assistant_message_tool_name": { "type": "string", "title": "Assistant Message Tool Name", - "description": "The name of the designated message tool.", - "default": "send_message" + "description": "The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "send_message", + "deprecated": true }, "assistant_message_tool_kwarg": { "type": "string", "title": "Assistant Message Tool Kwarg", - "description": "The name of the message argument in the designated message tool.", - "default": "message" + "description": "The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "message", + "deprecated": true }, "include_return_message_types": { "anyOf": [ @@ -30902,7 +30909,8 @@ "type": "string", "title": "Enable Thinking", "description": "If set to True, enables reasoning before responses or tool calls from the agent.", - "default": true + "default": true, + "deprecated": true }, "agent_id": { "type": "string", @@ -30995,20 +31003,23 @@ "use_assistant_message": { "type": "boolean", "title": "Use Assistant Message", - "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects.", - "default": true + "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": true, + "deprecated": true }, "assistant_message_tool_name": { "type": "string", "title": "Assistant Message Tool Name", - "description": "The name of the designated message tool.", - "default": "send_message" + "description": "The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "send_message", + "deprecated": true }, "assistant_message_tool_kwarg": { "type": "string", "title": "Assistant Message Tool Kwarg", - "description": "The name of the message argument in the designated message tool.", - "default": "message" + "description": "The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "message", + "deprecated": true }, "include_return_message_types": { "anyOf": [ @@ -31029,7 +31040,8 @@ "type": "string", "title": "Enable Thinking", "description": "If set to True, enables reasoning before responses or tool calls from the agent.", - "default": true + "default": true, + "deprecated": true } }, "type": "object", @@ -31143,20 +31155,23 @@ "use_assistant_message": { "type": "boolean", "title": "Use Assistant Message", - "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects.", - "default": true + "description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": true, + "deprecated": true }, "assistant_message_tool_name": { "type": "string", "title": "Assistant Message Tool Name", - "description": "The name of the designated message tool.", - "default": "send_message" + "description": "The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "send_message", + "deprecated": true }, "assistant_message_tool_kwarg": { "type": "string", "title": "Assistant Message Tool Kwarg", - "description": "The name of the message argument in the designated message tool.", - "default": "message" + "description": "The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + "default": "message", + "deprecated": true }, "include_return_message_types": { "anyOf": [ @@ -31177,7 +31192,8 @@ "type": "string", "title": "Enable Thinking", "description": "If set to True, enables reasoning before responses or tool calls from the agent.", - "default": true + "default": true, + "deprecated": true }, "stream_tokens": { "type": "boolean", diff --git a/letta/schemas/letta_request.py b/letta/schemas/letta_request.py index b01653ed..a9a83bb4 100644 --- a/letta/schemas/letta_request.py +++ b/letta/schemas/letta_request.py @@ -15,15 +15,18 @@ class LettaRequest(BaseModel): ) use_assistant_message: bool = Field( default=True, - description="Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects.", + description="Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + deprecated=True, ) assistant_message_tool_name: str = Field( default=DEFAULT_MESSAGE_TOOL, - description="The name of the designated message tool.", + description="The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + deprecated=True, ) assistant_message_tool_kwarg: str = Field( default=DEFAULT_MESSAGE_TOOL_KWARG, - description="The name of the message argument in the designated message tool.", + description="The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.", + deprecated=True, ) # filter to only return specific message types @@ -34,6 +37,7 @@ class LettaRequest(BaseModel): enable_thinking: str = Field( default=True, description="If set to True, enables reasoning before responses or tool calls from the agent.", + deprecated=True, ) @field_validator("messages", mode="before")