Skip to main content
This legacy example keeps DALL-E image output in conversation history for follow-up runs.
DALL-E models are deprecated. This DalleTools example is retained as a legacy reference and no longer runs against the current OpenAI API. Use OpenAITools with GPT Image 2 in Image Generation Agent.

Code

agent_using_multimodal_tool_response_in_runs.py

Current Alternative

The source above uses removed DALL-E models and is preserved for reference. Follow Image Generation Agent for the current OpenAITools and GPT Image 2 pattern before rebuilding the multi-turn flow.