- While Anthropic recently did announce that they are having a beta support for - OpenAI SDK compatibility (you can read more here), - but due to the implementation details comes with CORS - restrictions which not aligned with the OpenAI SDK, it's currently not possible to use this provider in the browser. -
-- If you do need to use this provider, you will need a dedicated proxy backend like a Serverless Function running on - Cloudflare Workers or some CORS bypassing services to bypass the CORS restrictions. -
-