Skip to content

Chore/Remove Deprecated Parameters For Opus 4.7#6294

Open
HenryHengZJ wants to merge 3 commits intomainfrom
chore/Opus-4-7-Deprecated-Params
Open

Chore/Remove Deprecated Parameters For Opus 4.7#6294
HenryHengZJ wants to merge 3 commits intomainfrom
chore/Opus-4-7-Deprecated-Params

Conversation

@HenryHengZJ
Copy link
Copy Markdown
Contributor

fix(ChatAnthropic): remove deprecated parameters for models after Claude Opus 4.6

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 logic to exclude temperature, topP, and topK parameters for Anthropic models starting from version opus-4-7. Feedback suggests that the hardcoded version check may not be future-proof and notes potential redundancy in parameter deletion logic.

Comment thread packages/components/nodes/chatmodels/ChatAnthropic/ChatAnthropic.ts Outdated
…nts to handle newer Anthropic Claude models and their specific requirements
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.

1 participant