From 34c323762e855ffab84fc850ea8ec2038daff027 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Wed, 11 Feb 2026 09:21:53 +0530 Subject: [PATCH] Add structured_output for opus-4-6 --- litellm/llms/anthropic/chat/transformation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index 82eccee596d..7879e191c3c 100644 --- a/litellm/llms/anthropic/chat/transformation.py +++ b/litellm/llms/anthropic/chat/transformation.py @@ -817,6 +817,8 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig): "sonnet-4-5", "opus-4.1", "opus-4-1", + "opus-4-6", + "opus-4.6", } ): _output_format = (