The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs(index.md): add release note for anthropic update
Krrish Dholakia823f4dcd9dc7
diff --git a/docs/my-website/docusaurus.config.js b/docs/my-website/docusaurus.config.jsindex cf20dfcd70c..8d480131ff3 100644--- a/docs/my-website/docusaurus.config.js+++ b/docs/my-website/docusaurus.config.js@@ -44,7 +44,7 @@ const config = {path: './release_notes',routeBasePath: 'release_notes',blogTitle: 'Release Notes',- blogSidebarTitle: 'All Releases',+ blogSidebarTitle: 'Releases',blogSidebarCount: 'ALL',postsPerPage: 'ALL',showReadingTime: false,diff --git a/docs/my-website/release_notes/v1.61.21/index.md b/docs/my-website/release_notes/v1.61.21/index.mdnew file mode 100644index 00000000000..64c1c31c53a--- /dev/null+++ b/docs/my-website/release_notes/v1.61.21/index.md@@ -0,0 +1,38 @@+---+title: v1.61.21 - Anthropic 'thinking' response update+slug: v1.61.21+date: 2025-03-05T10:00:00+authors:+ - name: Krrish Dholakia+ title: CEO, LiteLLM+ url: https://www.linkedin.com/in/krish-d/+ image_url: https://media.licdn.com/dms/image/v2/D4D03AQGrlsJ3aqpHmQ/profile-displayphoto-shrink_400_400/B4DZSAzgP7HYAg-/0/1737327772964?e=1743638400&v=beta&t=39KOXMUFedvukiWWVPHf3qI45fuQD7lNglICwN31DrI+ - name: Ishaan Jaffer+ title: CTO, LiteLLM+ url: https://www.linkedin.com/in/reffajnaahsi/+ image_url: https://media.licdn.com/dms/image/v2/D4D03AQGiM7ZrUwqu_Q/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1675971026692?e=1741824000&v=beta&t=eQnRdXPJo4eiINWTZARoYTfqh064pgZ-E21pQTSy8jc+tags: [llm translation, thinking, reasoning_content, claude-3-7-sonnet]+hide_table_of_contents: false+---++v1.61.21 fixes Anthropic 'thinking' response on streaming to return the `signature` block. [Github Issue](https://github.com/BerriAI/litellm/issues/8964)++It also moves the response structure from `signature_delta` to `signature` to be the same as Anthropic. [Anthropic Docs](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking#implementing-extended-thinking)+++## Diff++```bash+"message": {+ ...+ "reasoning_content": "The capital of France is Paris.",+ "thinking_blocks": [+ {+ "type": "thinking",+ "thinking": "The capital of France is Paris.",+- "signature_delta": "EqoBCkgIARABGAIiQL2UoU0b1OHYi+..." # 👈 OLD FORMAT++ "signature": "EqoBCkgIARABGAIiQL2UoU0b1OHYi+..." # 👈 KEY CHANGE+ }+ ]+}+```