-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: Vision models support in Anthropic #32103
Conversation
WalkthroughThe update enhances the Anthropic plugin by improving request serialization, refining command functionalities, and introducing vision-related capabilities. It streamlines JSON request creation, refactors chat command operations, enhances message handling, and lays the groundwork for vision command functionalities. Constants and utility functions are updated to support these changes, ensuring a more robust interaction with the Anthropic API. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8450353422. |
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Show resolved
Hide resolved
Failed server tests
|
1 similar comment
Failed server tests
|
...plugins/anthropicPlugin/src/main/java/com/external/plugins/constants/AnthropicConstants.java
Outdated
Show resolved
Hide resolved
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8466655993. |
...ver/appsmith-plugins/anthropicPlugin/src/test/java/com/external/plugins/ChatCommandTest.java
Show resolved
Hide resolved
Failed server tests
|
Deploy-Preview-URL: https://ce-32103.dp.appsmith.com |
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8467958122. |
Failed server tests
|
1 similar comment
Failed server tests
|
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8477630495. |
…nthropic-claude-vision-support
Failed server tests
|
Deploy-Preview-URL: https://ce-32103.dp.appsmith.com |
…nthropic-claude-vision-support
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8537297651. |
/build-deploy-preview --skip-tests=true --recreate=true |
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8644329228. |
Deploy-Preview-URL: https://ce-32103.dp.appsmith.com |
...ppsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/commands/ChatCommand.java
Show resolved
Hide resolved
app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/vision.json
Show resolved
Hide resolved
...r/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/models/MessageDTO.java
Show resolved
Hide resolved
...ava/com/appsmith/server/migrations/db/ce/Migration050MoveAnthropicLegacyModelsInQueries.java
Outdated
Show resolved
Hide resolved
...ava/com/appsmith/server/migrations/db/ce/Migration050MoveAnthropicLegacyModelsInQueries.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change required in the migration, rest looks fine
/build-deploy-preview --skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/8687593093. |
Failed server tests
|
Deploy-Preview-URL: https://ce-32103.dp.appsmith.com |
Description
Adding new vision models support in Anthropic
Fixes https://github.com/appsmithorg/appsmith-ee/issues/3681
Automation
/ok-to-test tags="@tag.Datasource"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/8706176169
Commit: 2c393e7
Cypress dashboard url: Click here!
Summary by CodeRabbit
New Features
VisionCommand
in method strategy for better handling of vision tasks.Refactor