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

Add support for Anthropic API #504

Open
annanay25 opened this issue Dec 11, 2024 · 3 comments
Open

Add support for Anthropic API #504

annanay25 opened this issue Dec 11, 2024 · 3 comments

Comments

@annanay25
Copy link
Contributor

Recently we've seen great performance from the Claude model family and it would be nice to add support for these models to the LLM app.

API reference: https://docs.anthropic.com/en/api/messages
Typescript SDK: https://github.com/anthropics/anthropic-sdk-typescript

@csmarchbanks
Copy link
Collaborator

Let's start with a spike for determining pros/cons of doing this in openrouter vs implementing directly in the plugin backend.

@sd2k
Copy link
Contributor

sd2k commented Dec 23, 2024

For doing it directly: ideally we'd be able to find something like the litellm Python library which lets you call tons of LLM providers using an OpenAI-like request/response format, but I can't seem to find one for Go; we'd probably need to re-implement the Anthropic part of litellm ourselves and keep it maintained.

@ishaan-jaff
Copy link

ishaan-jaff commented Jan 1, 2025

Hi @sd2k thanks for considering litellm (I'm one of the litellm maintainers) . If you'd like you can also use our proxy server https://docs.litellm.ai/docs/proxy/docker_quick_start and just point to it

That way you don't need to maintain code in GO

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

No branches or pull requests

4 participants