File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,12 @@ def get_message_tool(self):
8282### register_toolkits
8383
8484``` python
85- def register_toolkits (
86- self ,
87- toolkit : BaseToolkit,
88- tool_names : Optional[List[str ]] = None
89- ):
85+ def register_toolkits (self , toolkit : BaseToolkit):
9086```
9187
92- Add messaging capabilities to toolkit methods.
88+ Add messaging capabilities to all toolkit methods.
9389
94- This method modifies a toolkit so that specified tools can send
90+ This method modifies a toolkit so that all its tools can send
9591status messages to users while executing their primary function.
9692The tools will accept optional messaging parameters:
9793- message_title: Title of the status message
@@ -101,11 +97,11 @@ The tools will accept optional messaging parameters:
10197** Parameters:**
10298
10399- ** toolkit** : The toolkit to add messaging capabilities to
104- - ** tool_names** : List of specific tool names to modify. If None, messaging is added to all tools.
105100
106101** Returns:**
107102
108- The toolkit with messaging capabilities added
103+ The same toolkit instance with messaging capabilities added to
104+ all methods.
109105
110106<a id = " camel.toolkits.message_integration.ToolkitMessageIntegration._create_bound_method_wrapper" ></a >
111107
You can’t perform that action at this time.
0 commit comments