diff --git a/libs/partners/openai/langchain_openai/data/_profiles.py b/libs/partners/openai/langchain_openai/data/_profiles.py index a94a2dc3caa..55b475a569e 100644 --- a/libs/partners/openai/langchain_openai/data/_profiles.py +++ b/libs/partners/openai/langchain_openai/data/_profiles.py @@ -16,6 +16,31 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p from typing import Any _PROFILES: dict[str, dict[str, Any]] = { + "chatgpt-image-latest": { + "name": "chatgpt-image-latest", + "release_date": "2025-12-16", + "last_updated": "2025-12-16", + "open_weights": False, + "max_input_tokens": 0, + "max_output_tokens": 0, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": True, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": False, + "tool_calling": False, + "attachment": True, + "temperature": False, + "image_url_inputs": True, + "pdf_inputs": True, + "pdf_tool_message": True, + "image_tool_message": True, + "tool_choice": True, + }, "codex-mini-latest": { "name": "Codex Mini", "release_date": "2025-05-16", @@ -899,6 +924,81 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_tool_message": True, "tool_choice": True, }, + "gpt-image-1": { + "name": "gpt-image-1", + "release_date": "2025-04-24", + "last_updated": "2025-04-24", + "open_weights": False, + "max_input_tokens": 0, + "max_output_tokens": 0, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": False, + "image_outputs": True, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": False, + "tool_calling": False, + "attachment": True, + "temperature": False, + "image_url_inputs": True, + "pdf_inputs": True, + "pdf_tool_message": True, + "image_tool_message": True, + "tool_choice": True, + }, + "gpt-image-1-mini": { + "name": "gpt-image-1-mini", + "release_date": "2025-09-26", + "last_updated": "2025-09-26", + "open_weights": False, + "max_input_tokens": 0, + "max_output_tokens": 0, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": True, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": False, + "tool_calling": False, + "attachment": True, + "temperature": False, + "image_url_inputs": True, + "pdf_inputs": True, + "pdf_tool_message": True, + "image_tool_message": True, + "tool_choice": True, + }, + "gpt-image-1.5": { + "name": "gpt-image-1.5", + "release_date": "2025-11-25", + "last_updated": "2025-11-25", + "open_weights": False, + "max_input_tokens": 0, + "max_output_tokens": 0, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": True, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": False, + "tool_calling": False, + "attachment": True, + "temperature": False, + "image_url_inputs": True, + "pdf_inputs": True, + "pdf_tool_message": True, + "image_tool_message": True, + "tool_choice": True, + }, "o1": { "name": "o1", "release_date": "2024-12-05",