migrate fern

This commit is contained in:
Kian Jones
2025-09-09 09:31:59 -07:00
parent 0c5f5dadb8
commit 1881fcc89d
339 changed files with 50713 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
slug: python-reference/LettaResponse
---
<a id="letta.schemas.letta_response.LettaResponse"></a>
## LettaResponse
```python
class LettaResponse(BaseModel)
```
Response object from an agent interaction, consisting of the new messages generated by the agent and usage statistics.
The type of the returned messages can be either `Message` or `LettaMessage`, depending on what was specified in the request.
**Attributes**:
- `messages` _List[Union[Message, LettaMessage]]_ - The messages returned by the agent.
- `usage` _LettaUsageStatistics_ - The usage statistics