justyns / silverbullet-ai

Plug for SilverBullet to integrate LLM functionality
https://ai.silverbullet.md/
GNU Affero General Public License v3.0
26 stars 1 forks source link

WIP: Add provider for Anthropic Claude api #23

Open justyns opened 6 months ago

justyns commented 6 months ago

WIP

This doesn't actually work yet.

It looks like any requests made directly from the browser fails due to CORS issues. I think we'd have to force the requests to proxy through the server?

I might try again later, but leaving this here in case anyone else wants to make an attempt

justyns commented 5 days ago

Anthropic allows for CORs now:

https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/