Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agents-docs/content/talk-to-your-agents/chat-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This guide shows how to call your agent directly over HTTP and stream responses
**Field Notes:**

- **`messages`** — Must include at least one `user` message
- **`content`** — Can be a string or an object with `parts` for multi-part content
- **`content`** — Can be a string or an object with `parts` for multi-part content (text and images)
- **`conversationId`** — Optional; server generates one if omitted

### Optional Headers
Expand Down
2 changes: 2 additions & 0 deletions agents-docs/content/typescript-sdk/agent-relationships.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Transfer relationships **completely relinquish control** from one Sub Agent to a
- The source Sub Agent stops processing
- The target Sub Agent takes full control of the conversation
- Control is permanently transferred until the target Sub Agent hands back
- All message content, including images and other non-text parts, is preserved

```typescript
import { subAgent, agent } from "agent-sdk";
Expand Down Expand Up @@ -86,6 +87,7 @@ Delegation relationships are used to **pass a task** from one Sub Agent to anoth
- The target Sub Agent executes a specific task
- Results are returned to the source Sub Agent
- The source Sub Agent continues processing
- All message content, including images and other non-text parts, is preserved

```typescript
// Sub Agents for specific tasks
Expand Down
Loading