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 API access error #32

Open
csemahit opened this issue Feb 13, 2025 · 0 comments
Open

claude API access error #32

csemahit opened this issue Feb 13, 2025 · 0 comments

Comments

@csemahit
Copy link

Hi,
I found the following error while accessing claude API to run vulnhuntr. Any suggestion to fix it?

E:>vulnhuntr -r E:\codebaseTest\gpt_re\gpt-researcher -l claude
Traceback (most recent call last):
File "C:\Users\abc\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\abc\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "c:\users\abc.local\bin\vulnhuntr.exe_main
.py", line 7, in
sys.exit(run())
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\vulnhuntr_main
.py", line 345, in run
llm = initialize_llm(args.llm)
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\vulnhuntr_main
.py", line 286, in initialize_llm
llm = Claude(anth_model, anth_base_url, system_prompt)
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\vulnhuntr\LLMs.py", line 81, in init
self.client = anthropic.Anthropic(max_retries=3, base_url=base_url)
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\anthropic_client.py", line 121, in init
super().init(
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\anthropic_base_client.py", line 835, in init
self._client = http_client or SyncHttpxClientWrapper(
File "C:\Users\abc\pipx\venvs\vulnhuntr\lib\site-packages\anthropic_base_client.py", line 733, in init
super().init(**kwargs)
TypeError: Client.init() got an unexpected keyword argument 'proxies'

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

1 participant