Skip to main content
This example demonstrates how to create an agent that uses DALL-E to generate images and maintains conversation history across multiple runs, allowing the agent to remember previous interactions and images generated.

Code

agent_using_multimodal_tool_response_in_runs.py

Usage

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run Agent