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

claude-subtrans and gui-subtrans lack proxy support #200

Open
entrider opened this issue Oct 10, 2024 · 1 comment
Open

claude-subtrans and gui-subtrans lack proxy support #200

entrider opened this issue Oct 10, 2024 · 1 comment

Comments

@entrider
Copy link

entrider commented Oct 10, 2024

Could you please add proxy support for claude and the gui? Claude is not available in my country.

claude-subtrans.py: error: unrecognized arguments: --proxy

gui-subtrans.py: error: unrecognized arguments: --proxy
@entrider entrider changed the title claude-subtrans lacks proxy support claude-subtrans and gui-subtrans lack proxy support Oct 11, 2024
@machinewrapped
Copy link
Owner

Sorry about the delay on this, I've been busy with another project lately.

I've pushed experimental support for Claude proxies, following the example at https://github.com/anthropics/anthropic-sdk-python?tab=readme-ov-file#configuring-the-http-client

Would you be able to get latest and test it with your proxy? You can specify a URL in the Provider Settings in the GUI or with --proxy on the command line.

It doesn't work if you set the official endpoint as a proxy, seems to be because Cloudflare blocks the request. Hopefully it will work with an actual proxy server. If you can confirm then I'll publish a new release.

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

2 participants