alishobeiri/thread

Chat does not generate response when using Anthropic API Key

Closed this issue · 6 comments

Chat does not generate response when using Anthropic API Key

Hi Lakshit,

Thanks for the issue, I am taking a look at this now. Can you tell me what pip version of vizly-notebook you are using?

version (0.1.26)

Thanks a lot, there seems to be a CORS issue coming from the Anthropic end. I am trying to see if there is a way to get around it

The easiest way to is to run the queries non-locally, ie run them through the proxy server. I am trying to find a resolution for this at the moment

Could you please add some more documentation for setting up the proxy server? Thanks.
btw, great product, keep building :))

Thanks a lot, if you got some time, would love to learn more about what you are using vizly-notebook for!

The proxy server has a default address that I recommend using (https://thread-41s7.onrender.com) so you don't need to deal with setting one up for yourself. If you want to run your own proxy server, you can run the following commands:

cd proxy
yarn build:prod
yarn start

On whatever service you are hoping to run things on

This is the issue on Anthropic's API: anthropics/anthropic-sdk-typescript#219