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
Move description parameter handling from a wrapper struct to a simple
function called at tool retrieval time. This eliminates the need for
DescriptionToolSet to implement all capability interfaces (Startable,
Instructable, Elicitable, OAuthCapable) just to forward calls.
Changes:
- Add addDescriptionParameter field to Agent struct
- Add WithAddDescriptionParameter option
- Add tools.AddDescriptionParameter function to transform tool lists
- Remove DescriptionToolSet wrapper entirely
- Apply transformation in agent.Tools() when flag is enabled
Assisted-By: cagent
0 commit comments