Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for claude-3-7-sonnet on anthropic, openrouter, vertexai and aws #2146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

longkeyy
Copy link
Contributor

@longkeyy longkeyy commented Feb 25, 2025

This PR adds support for Claude models on the following platforms:
• Anthropic
• OpenRouter
• AWS

Additionally, it includes support for Claude-3.7-Sonnet to ensure compatibility across these services.

Changes
• Integrated API support for Anthropic, OpenRouter, Vertexai, and AWS.
• Added model handling logic for Claude-3.7-Sonnet.
• Updated configuration and documentation accordingly.

Testing
• Verified API calls to each platform.
• Ensured Claude-3.7-Sonnet functions correctly.
• Passed unit and integration tests.

Checklist
• Code is properly tested.
• Documentation is updated if needed.
• No breaking changes introduced.

close #2145

我已确认该 PR 已自测通过,相关截图如下:
image

@longkeyy longkeyy changed the title feat: add support claude-3.7-sonnet feat: add support for claude on anthropic, openrouter, and aws Feb 25, 2025
@longkeyy longkeyy force-pushed the add_claude-3-7-sonnet branch from a9ee41a to 7fed66d Compare February 25, 2025 10:18
@longkeyy longkeyy changed the title feat: add support for claude on anthropic, openrouter, and aws feat: add support for claude on anthropic, openrouter, vertexai and aws Feb 25, 2025
@longkeyy longkeyy changed the title feat: add support for claude on anthropic, openrouter, vertexai and aws feat: add support for claude-3-7-sonnet on anthropic, openrouter, vertexai and aws Feb 25, 2025
@naginoa
Copy link

naginoa commented Feb 28, 2025

我想请问下docker镜像部署的one-api要修改这个pr呢?进入container之后修改代码,然后commit镜像,再run这个镜像吗?

@longkeyy
Copy link
Contributor Author

longkeyy commented Mar 1, 2025

我想请问下docker镜像部署的one-api要修改这个pr呢?进入container之后修改代码,然后commit镜像,再run这个镜像吗?

重新打一个镜像

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.

when to support claude 3.7
2 participants