Naposledy aktivní 1728945757

wangold revidoval tento gist 1728945756. Přejít na revizi

1 file changed, 10 insertions

Swarm-readme-6.md(vytvořil soubor)

@@ -0,0 +1,10 @@
1 + | Argument | Type | Description | Default |
2 + | --------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- |
3 + | **agent** | `Agent` | The (initial) agent to be called. | (required) |
4 + | **messages** | `List` | A list of message objects, identical to [Chat Completions `messages`](https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages) | (required) |
5 + | **context_variables** | `dict` | A dictionary of additional context variables, available to functions and Agent instructions | `{}` |
6 + | **max_turns** | `int` | The maximum number of conversational turns allowed | `float("inf")` |
7 + | **model_override** | `str` | An optional string to override the model being used by an Agent | `None` |
8 + | **execute_tools** | `bool` | If `False`, interrupt execution and immediately returns `tool_calls` message when an Agent tries to call a function | `True` |
9 + | **stream** | `bool` | If `True`, enables streaming responses | `False` |
10 + | **debug** | `bool` | If `True`, enables debug logging | `False` |
Novější Starší