screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

Add base_url configuration for anthropic claude.

Open yangyu opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Currently in the settings, there is openai base_url can be setup but for Anthropic Claude, there is no such parameter.

Describe the solution you'd like Just add a parameter for Anthropic Claude like anthropic_base_url and change the llm.py and other code in backend to accept it.

Describe alternatives you've considered None

Additional context

yangyu avatar Jul 14 '24 08:07 yangyu

I’ve added this feature to the branch. I think I’ll create a PR later. https://github.com/BibbyChung/screenshot-to-code/tree/features/add-gemini-baseurl-support

BibbyChung avatar Aug 22 '25 06:08 BibbyChung