Passing extra attributes to tool definitions #1559
Unanswered
anil-gurbuz
asked this question in
Q&A
Replies: 1 comment
-
|
I am not sure of the issue you found. Yes, you can create additional attributes in the smolagents/src/smolagents/default_tools.py Lines 275 to 294 in 7329ef7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a tool definition as below ( I wanted to add extra attributes to tool definition by writing the init method) .
I tried below but apparently the created Tool object is not passed the execution environment but rather the class definition is passed.
My question is;
Would appreciate any help with that!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions