[PR #355] [MERGED] feat(anthropic): Update Claude 3 model configuration and Anthropic SDK #1311

Closed
opened 2026-02-16 10:22:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/355
Author: @fdb02983rhy
Created: 3/2/2025
Status: Merged
Merged: 3/2/2025
Merged by: @crazywoola

Base: mainHead: feat-Update-Anthropic-model-with-Claude-3.7-Sonnet-enhancements


📝 Commits (1)

  • cc48dce feat(anthropic): Update Claude 3 model configuration and Anthropic SDK

📊 Changes

4 files changed (+272 additions, -66 deletions)

View changed files

📝 models/anthropic/manifest.yaml (+1 -1)
📝 models/anthropic/models/llm/claude-3-7-sonnet-20250219.yaml (+22 -21)
📝 models/anthropic/models/llm/llm.py (+248 -43)
📝 models/anthropic/requirements.txt (+1 -1)

📄 Description

Summary

Fix https://github.com/langgenius/dify-official-plugins/issues/318

  • Upgrade Anthropic library to version 0.48.0
  • Enhance Claude 3.7 Sonnet model configuration
    • Add new "thinking" mode parameter
    • Introduce "thinking_budget" parameter
    • Add "extended_output" beta feature support
    • Increase max tokens to 128,000
  • Improve token counting and streaming response handling
  • Bump plugin version to 0.0.8

1. Normal conversation

image

2. Tool use

image

3. PDF

image

4. Vision

image

4. Thinking mode with extended output 128k and tool use

image

5. Structured output

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/355 **Author:** [@fdb02983rhy](https://github.com/fdb02983rhy) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/2/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `feat-Update-Anthropic-model-with-Claude-3.7-Sonnet-enhancements` --- ### 📝 Commits (1) - [`cc48dce`](https://github.com/langgenius/dify-official-plugins/commit/cc48dce0a71e72ef1a108b42074be21284085e74) feat(anthropic): Update Claude 3 model configuration and Anthropic SDK ### 📊 Changes **4 files changed** (+272 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `models/anthropic/manifest.yaml` (+1 -1) 📝 `models/anthropic/models/llm/claude-3-7-sonnet-20250219.yaml` (+22 -21) 📝 `models/anthropic/models/llm/llm.py` (+248 -43) 📝 `models/anthropic/requirements.txt` (+1 -1) </details> ### 📄 Description # Summary Fix https://github.com/langgenius/dify-official-plugins/issues/318 - Upgrade Anthropic library to version 0.48.0 - Enhance Claude 3.7 Sonnet model configuration * Add new "thinking" mode parameter * Introduce "thinking_budget" parameter * Add "extended_output" beta feature support * Increase max tokens to 128,000 - Improve token counting and streaming response handling - Bump plugin version to 0.0.8 ## 1. Normal conversation <img width="747" alt="image" src="https://github.com/user-attachments/assets/ce34886a-ed68-441b-99aa-25ba62ce63ea" /> ## 2. Tool use <img width="735" alt="image" src="https://github.com/user-attachments/assets/378cf495-51f5-49cd-bcff-4529b74e3133" /> ## 3. PDF <img width="749" alt="image" src="https://github.com/user-attachments/assets/200d23ee-818f-48d2-9899-3d9632450c8a" /> ## 4. Vision <img width="613" alt="image" src="https://github.com/user-attachments/assets/9172fafd-4e55-457d-8c12-9752574cf55b" /> ## 4. Thinking mode with extended output 128k and tool use <img width="658" alt="image" src="https://github.com/user-attachments/assets/373aaee2-5227-4d66-9283-d3637464099e" /> ## 5. Structured output <img width="746" alt="image" src="https://github.com/user-attachments/assets/ab782295-ef09-4ee4-8c55-7725e2cb72e3" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:35 -05:00
yindo closed this issue 2026-02-16 10:22:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1311