Dernière activité 1728945862

wangold a révisé ce gist 1728945862. Aller à la révision

1 file changed, 7 insertions

Swarm-readme-8.md(fichier créé)

@@ -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` |
Plus récent Plus ancien