Swarm-readme-7.md
· 1.5 KiB · Markdown
Brut
| Field | Type | Description |
| --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **messages** | `List` | A list of message objects generated during the conversation. Very similar to [Chat Completions `messages`](https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages), but with a `sender` field indicating which `Agent` the message originated from. |
| **agent** | `Agent` | The last agent to handle a message. |
| **context_variables** | `dict` | The same as the input variables, plus any changes. |
Field | Type | Description |
---|---|---|
messages | List |
A list of message objects generated during the conversation. Very similar to Chat Completions messages , but with a sender field indicating which Agent the message originated from. |
agent | Agent |
The last agent to handle a message. |
context_variables | dict |
The same as the input variables, plus any changes. |