how to use proxy
Reb1azzze opened this issue · 1 comments
Reb1azzze commented
const claude = new Claude({
sessionKey: myKey,
proxy: 'http://66.94.108.138:3128'
});
async function sendRequest(prompt){
await claude.init();
const conversation = await claude.startConversation('Hello Claude!');
await conversation.sendMessage(prompt);
}
sendRequest("Hello");
FetchError: invalid json response body at http://66.94.108.138:3128/api/organizations reason: Unexpected token < in JSON at position
Explosion-Scratch commented
Yeah, it's no longer working, they've blocked traffic using TLS fingerprinting. I might try to get it running again after my upcoming SAT test on Saturday