-
Notifications
You must be signed in to change notification settings - Fork 1.4k
how to use Code Interpreter or Image Output in OpenAI Agents SDK #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
is there anyone that can answer on how/when these features can/will be implemented? |
This issue is stale because it has been open for 7 days with no activity. |
Can we get any update on this? |
I'm also struggling with this point. |
I am struggling with this as well. |
This issue is stale because it has been open for 7 days with no activity. |
Hey I'm so sorry I totally missed this. I don't think we have a code-interpreter hosted tool. I can add some image examples. Can you share some sample code and comment on parts where you're not sure what to do? |
Hi, Can you please give an example of code showing agent taking image as input to generate description ? |
This issue is stale because it has been open for 7 days with no activity. |
This issue was closed because it has been inactive for 3 days since being marked as stale. |
Is there currently a way to use the Code Interpreter (Python execution) tool or return images (e.g. charts) in responses when using the OpenAI Agents SDK?
If not, I’d like to request one of the following:
Option 1 Code Interpreter Integration
Support for securely executing Python code (like in the Assistants API with the code interpreter tool) to enable dynamic data processing and chart generation.
Option 2 Image Output Support
If code execution isn't feasible, provide a way for agents to return image outputs (e.g. base64-encoded charts) in their responses. This would allow external tools to handle code, and the agent simply returns the result.
Use Case:
Building data analysis agents that can respond to user queries with summaries and visual charts (bar, pie, line, etc.).
The text was updated successfully, but these errors were encountered: