Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

docs: fix API documentation examples for messages endpoints (#2822)

Cameron Pfifferd7520330ab5e
diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml
index f91dd8aad..86b4368a7 100644
--- a/fern/openapi-overrides.yml
+++ b/fern/openapi-overrides.yml
@@ -488,6 +488,15 @@ paths:
- agents
- messages
x-fern-sdk-method-name: create
+ requestBody:
+ content:
+ application/json:
+ example:
+ messages:
+ - role: user
+ content:
+ - type: text
+ text: "The sky above the port was the color of television, tuned to a dead channel."
/v1/agents/{agent_id}/messages/{message_id}:
patch:
x-fern-sdk-group-name:
@@ -508,6 +517,15 @@ paths:
- agents
- messages
x-fern-sdk-method-name: create_stream
+ requestBody:
+ content:
+ application/json:
+ example:
+ messages:
+ - role: user
+ content:
+ - type: text
+ text: "The sky above the port was the color of television, tuned to a dead channel."
responses:
'200':
content:
@@ -961,6 +979,15 @@ paths:
- groups
- messages
x-fern-sdk-method-name: create
+ requestBody:
+ content:
+ application/json:
+ example:
+ messages:
+ - role: user
+ content:
+ - type: text
+ text: "The sky above the port was the color of television, tuned to a dead channel."
/v1/groups/{group_id}/messages/{message_id}:
patch:
x-fern-sdk-group-name:
@@ -975,6 +1002,15 @@ paths:
- groups
- messages
x-fern-sdk-method-name: create_stream
+ requestBody:
+ content:
+ application/json:
+ example:
+ messages:
+ - role: user
+ content:
+ - type: text
+ text: "The sky above the port was the color of television, tuned to a dead channel."
responses:
'200':
content: