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

Adding proxy #548

Open
simonwitt98 opened this issue Oct 9, 2024 · 2 comments
Open

Adding proxy #548

simonwitt98 opened this issue Oct 9, 2024 · 2 comments

Comments

@simonwitt98
Copy link

simonwitt98 commented Oct 9, 2024

How can i specify company proxies for the LLM call or set ssl verification to False?

Setting async client or httpx_client in ChatGoogleGenerativeAI initialisation does not work.

@lkuligin
Copy link
Collaborator

you can do this with ChatVertexAI

@coder-pm
Copy link

coder-pm commented Nov 19, 2024

ChatVertexAI does not have the any options to pass custom http client. Looks like there is no way to accomplish that now.

EDIT: I've managed to get it working but I had to create a custom google.auth.GoogleAuth with custom transporter and put it in the authOptions.authClient options of the ChatVertexAI.

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

3 participants