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 currentOpenAITools and GPT Image 2 pattern before rebuilding the multi-turn flow.