wangold hat die Gist bearbeitet . Zu Änderung gehen
1 file changed, 7 insertions
Swarm-readme-8.md(Datei erstellt)
@@ -0,0 +1,7 @@ | |||
1 | + | | Field | Type | Description | Default | | |
2 | + | | ---------------- | ------------------------ | ----------------------------------------------------------------------------- | ---------------------------- | | |
3 | + | | **name** | `str` | The name of the agent. | `"Agent"` | | |
4 | + | | **model** | `str` | The model to be used by the agent. | `"gpt-4o"` | | |
5 | + | | **instructions** | `str` or `func() -> str` | Instructions for the agent, can be a string or a callable returning a string. | `"You are a helpful agent."` | | |
6 | + | | **functions** | `List` | A list of functions that the agent can call. | `[]` | | |
7 | + | | **tool_choice** | `str` | The tool choice for the agent, if any. | `None` | |
Neuer
Älter