From a740599dcc631f70e7567b2cba46760e4862f7cb Mon Sep 17 00:00:00 2001 From: mdrxy <61371264+mdrxy@users.noreply.github.com> Date: Thu, 19 Feb 2026 18:27:48 +0000 Subject: [PATCH] chore(model-profiles): refresh model profile data --- .../langchain_openrouter/data/_profiles.py | 41 ++++++++++++++++--- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py index 2bb4f1506e8..8e123e8e5dc 100644 --- a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py +++ b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py @@ -865,6 +865,22 @@ _PROFILES: dict[str, dict[str, Any]] = { "tool_calling": True, "structured_output": True, }, + "google/gemini-3.1-pro-preview": { + "max_input_tokens": 1048576, + "max_output_tokens": 65536, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": True, + "pdf_inputs": True, + "video_inputs": True, + "text_outputs": True, + "image_outputs": False, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": True, + "tool_calling": True, + "structured_output": True, + }, "google/gemini-2.0-flash-exp:free": { "max_input_tokens": 1048576, "max_output_tokens": 1048576, @@ -2455,7 +2471,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_inputs": True, "audio_inputs": False, "video_inputs": False, - "text_outputs": True, + "text_outputs": False, "image_outputs": True, "audio_outputs": False, "video_outputs": False, @@ -2493,6 +2509,21 @@ _PROFILES: dict[str, dict[str, Any]] = { "tool_calling": True, "structured_output": True, }, + "anthropic/claude-sonnet-4.6": { + "max_input_tokens": 1000000, + "max_output_tokens": 128000, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": False, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": True, + "tool_calling": True, + "structured_output": True, + }, "anthropic/claude-haiku-4.5": { "max_input_tokens": 200000, "max_output_tokens": 64000, @@ -2609,7 +2640,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_inputs": True, "audio_inputs": False, "video_inputs": False, - "text_outputs": True, + "text_outputs": False, "image_outputs": True, "audio_outputs": False, "video_outputs": False, @@ -2623,7 +2654,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_inputs": True, "audio_inputs": False, "video_inputs": False, - "text_outputs": True, + "text_outputs": False, "image_outputs": True, "audio_outputs": False, "video_outputs": False, @@ -2637,7 +2668,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_inputs": True, "audio_inputs": False, "video_inputs": False, - "text_outputs": True, + "text_outputs": False, "image_outputs": True, "audio_outputs": False, "video_outputs": False, @@ -2651,7 +2682,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "image_inputs": True, "audio_inputs": False, "video_inputs": False, - "text_outputs": True, + "text_outputs": False, "image_outputs": True, "audio_outputs": False, "video_outputs": False,