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
It's easy enough today to implement an "eval" action on an agent and use it to run arbitrary code in python or the shell, but given the power of code execution in general, I want to explore how it can be supported as a first class feature.
Following the React app updates, I plan to explore how this could be more directly supported.
In the meantime, this is all it takes to create a simple code-interpreter-like agent if you'd like to play around with this concept.
@actiondefeval(self, code: str):
"""Evaluate python code within this agent's context"""eval(code)
The text was updated successfully, but these errors were encountered:
I've decided that this feature will be addressed in a new independent project dedicated to creating a new UI for experimentation and development. See the discussion here for more details.
If you'd like to sign up to be emailed when a prototype is ready, please click here.
It's easy enough today to implement an "eval" action on an agent and use it to run arbitrary code in python or the shell, but given the power of code execution in general, I want to explore how it can be supported as a first class feature.
Following the React app updates, I plan to explore how this could be more directly supported.
In the meantime, this is all it takes to create a simple code-interpreter-like agent if you'd like to play around with this concept.
The text was updated successfully, but these errors were encountered: