Replies: 3 comments
-
any update here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I raised the same question in the langchgain forum: |
Beta Was this translation helpful? Give feedback.
0 replies
-
As far as I can see, the current |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
support of adding custom headers on ChatGoogleGenerativeAI
Motivation
My code invokes google genai api by langchain is behind a proxy. I want to add custom headers to perform some data collection on the proxy.
Proposal (If applicable)
The version of @google/generative-ai which @langchain/google-genai depends on is too old. Starting from 0.11.0, @google/generative-ai adds
customHeaders
field toRequestOptions
inteface. Maybe it can be used by ChatGoogleGenerativeAI to support adding custom headers.Beta Was this translation helpful? Give feedback.
All reactions