How can i get the variable in CodeAgent in smolagent

If the Python Interpreter runs the code, Can I get the variable in the CodeAgent object?

1 Like

I don’t think there is a method for extracting variables at the moment.