wangold revised this gist . Go to revision
1 file changed, 5 insertions
Swarm-readme-7.md(file created)
@@ -0,0 +1,5 @@ | |||
1 | + | | Field | Type | Description | | |
2 | + | | --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | |
3 | + | | **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. | | |
4 | + | | **agent** | `Agent` | The last agent to handle a message. | | |
5 | + | | **context_variables** | `dict` | The same as the input variables, plus any changes. | |
Newer
Older