Skip to content

feat(components): Add support for Anthropic Claude Opus 4.7#6247

Merged
HenryHengZJ merged 3 commits intoFlowiseAI:mainfrom
AbdulSamad94:feat/add-claude-opus-4-7
Apr 20, 2026
Merged

feat(components): Add support for Anthropic Claude Opus 4.7#6247
HenryHengZJ merged 3 commits intoFlowiseAI:mainfrom
AbdulSamad94:feat/add-claude-opus-4-7

Conversation

@AbdulSamad94
Copy link
Copy Markdown
Contributor

This PR introduces full support for Anthropic's flagship Claude Opus 4.7 model across our chat integrations, updating both the model registry and the frontend node logic required to handle its advanced parameters.

Changes Made

  • Model Registry (models.json): Added claude-opus-4-7 to awsChatBedrock, chatAnthropic, and chatAnthropic_LlamaIndex with the most recent API token costs.
  • Node UI Logic (ChatAnthropic.ts): Added claude-opus-4-7 to the conditional rendering arrays. This correctly hides the legacy Extended Thinking sliders and activates the modern Adaptive Thinking configuration required by the new Opus architecture.

Type of change

  • New feature (non-breaking change which adds model functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of changes made in component node configurations
  • New base pricing and UI handling logic matches official Anthropic API documentation

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for the Claude 4.7 Opus model across AWS Bedrock, Anthropic, and LlamaIndex integrations, and updates the ChatAnthropic component to enable thinking-related parameters for the new model. A review comment suggests updating the description for the thinkingEffort parameter, as it currently incorrectly states it is only for the 4.6 model.

Comment thread packages/components/nodes/chatmodels/ChatAnthropic/ChatAnthropic.ts
@AbdulSamad94
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for the Claude 4.7 Opus model across AWS Bedrock, Anthropic, and LlamaIndex providers. It also updates the visibility logic and descriptions within the Anthropic chat model component to accommodate the new version. A review comment suggests updating the 'Max' thinking effort description to more accurately include both Opus and Sonnet models, ensuring the UI text aligns with the underlying logic.

Comment thread packages/components/nodes/chatmodels/ChatAnthropic/ChatAnthropic.ts
Copy link
Copy Markdown
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@HenryHengZJ HenryHengZJ merged commit 674bfc7 into FlowiseAI:main Apr 20, 2026
3 checks passed
@AbdulSamad94 AbdulSamad94 deleted the feat/add-claude-opus-4-7 branch April 20, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants