Skip to content

partners: ChatAnthropic supports urls#30809

Merged
ccurme (ccurme) merged 4 commits intolangchain-ai:masterfrom
Konsti-s:anthropic-chatmodel-supports-urls
Apr 18, 2025
Merged

partners: ChatAnthropic supports urls#30809
ccurme (ccurme) merged 4 commits intolangchain-ai:masterfrom
Konsti-s:anthropic-chatmodel-supports-urls

Conversation

@Konsti-s
Copy link
Copy Markdown
Contributor

@Konsti-s Konsti-s commented Apr 13, 2025

Description:
partners-anthropic: ChatAnthropic supports b64 and urls in the part[image_url][url] message variable

Issue:
ChatAnthropic right now only supports b64 encoded images in the part[image_url][url] message variable. This PR enables ChatAnthropic to also accept image urls in said variable and makes it compatible with OpenAI messages to make model switching easier.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Apr 18, 2025 7:13pm

@dosubot dosubot Bot added the size:M label Apr 13, 2025
@Konsti-s Konsti-s force-pushed the anthropic-chatmodel-supports-urls branch from 4afcd4c to 5c68fb4 Compare April 13, 2025 20:29
@ccurme ccurme (ccurme) self-assigned this Apr 13, 2025
@dosubot dosubot Bot added size:L and removed size:M labels Apr 18, 2025
Copy link
Copy Markdown
Collaborator

@ccurme ccurme (ccurme) left a comment

Choose a reason for hiding this comment

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

Thanks for this. This week we released a standard format for multimodal content blocks and extended Anthropic's support to URLs in the process. See docs here. But this is nice to have!

@dosubot dosubot Bot added the lgtm label Apr 18, 2025
@ccurme ccurme (ccurme) merged commit 017c807 into langchain-ai:master Apr 18, 2025
28 checks passed
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