Skip to content

Commit 71c61a9

Browse files
committed
Update team and agent references
1 parent a34a823 commit 71c61a9

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

_snippets/agent-reference.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## Parameters
2+
13
| Parameter | Type | Default | Description |
24
|-----------|------|---------|-------------|
35
| `model` | `Optional[Model]` | `None` | Model to use for this Agent |
@@ -69,3 +71,18 @@
6971
| `debug_mode` | `bool` | `False` | Enable debug logs |
7072
| `monitoring` | `bool` | `False` | Log Agent information to agno.com for monitoring |
7173
| `telemetry` | `bool` | `True` | Log minimal telemetry for analytics |
74+
75+
76+
## Functions
77+
78+
| Function | Description |
79+
|----------|-------------|
80+
| `print_response` | Run the agent and print the response |
81+
| `run` | Run the agent |
82+
| `aprint_response` | Run the agent and print the response asynchronously |
83+
| `arun` | Run the agent asynchronously |
84+
| `get_session_summary` | Get the session summary for the given session ID and user ID (if not provided, the current session is used) |
85+
| `get_user_memories` | Get the user memories for the given user ID (if not provided, the current user is used) |
86+
87+
88+

_snippets/team-reference.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## Parameters
2+
13
| Parameter | Type | Default | Description |
24
|-----------|------|---------|-------------|
35
| `members` | `List[Union[Agent, Team]]` | - | List of agents or teams that make up this team |
@@ -17,6 +19,7 @@
1719
| `success_criteria` | `Optional[str]` | `None` | Define the success criteria for the team |
1820
| `markdown` | `bool` | `False` | If markdown=true, add instructions to format the output using markdown |
1921
| `add_datetime_to_instructions` | `bool` | `False` | If True, add the current datetime to the instructions to give the agent a sense of time |
22+
| `add_member_tools_to_system_message` | `bool` | `True` | If True, add the member tools to the system message |
2023
| `knowledge` | `Optional[AgentKnowledge]` | `None` | Add a knowledge base to the team |
2124
| `retriever` | `Optional[Callable[..., Optional[List[Dict]]]]` | `None` | Function to get references to add to the user_message |
2225
| `references_format` | `Literal["json", "yaml"]` | `"json"` | Format of the references |
@@ -40,3 +43,18 @@
4043
| `show_members_responses` | `bool` | `False` | Enable member logs - Sets the debug_mode for team and members |
4144
| `monitoring` | `bool` | `False` | Log team information to agno.com for monitoring |
4245
| `telemetry` | `bool` | `True` | Log minimal telemetry for analytics |
46+
47+
48+
## Functions
49+
50+
| Function | Description |
51+
|----------|-------------|
52+
| `print_response` | Run the agent and print the response |
53+
| `run` | Run the agent |
54+
| `aprint_response` | Run the agent and print the response asynchronously |
55+
| `arun` | Run the agent asynchronously |
56+
| `get_session_summary` | Get the session summary for the given session ID and user ID (if not provided, the current session is used) |
57+
| `get_user_memories` | Get the user memories for the given user ID (if not provided, the current user is used) |
58+
59+
60+

0 commit comments

Comments
 (0)