mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Update ai agent documentation on tool agent (#272)
* Update ai agent documentation on tool agent * Fix
This commit is contained in:
@@ -55,6 +55,10 @@ class ToolAgent(TypeRoutedAgent):
|
||||
super().__init__(description)
|
||||
self._tools = tools
|
||||
|
||||
@property
|
||||
def tools(self) -> List[Tool]:
|
||||
return self._tools
|
||||
|
||||
@message_handler
|
||||
async def handle_function_call(
|
||||
self, message: FunctionCall, cancellation_token: CancellationToken
|
||||
|
||||
Reference in New Issue
Block a user