You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix type annotation, avoid input shadowing, and clarify tool behavior docs
This commit improves type safety by replacing Any with the correct generic type TContext in the get\_all\_tools method.
It also avoids confusion by renaming the input parameter in the run\_agent function to user\_input because input is a built-in function in Python.
Lastly, it updates the documentation of tool\_use\_behavior to clearly describe the use of the StopAtTools object instead of a plain list of tool names.
These changes make the code more accurate, easier to understand, and better aligned with best practices.
0 commit comments