forked from phoenix/litellm-mirror
test cost tagging gemini js requests
This commit is contained in:
parent
9c0b109c43
commit
5ce5ee05d9
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ const modelParams = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
baseUrl: 'http://127.0.0.1:4000/gemini'
|
baseUrl: 'http://127.0.0.1:4000/gemini',
|
||||||
|
customHeaders: {
|
||||||
|
"tags": "gemini-js-sdk,gemini-pro"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const genAI = new GoogleGenerativeAI("sk-1234"); // litellm proxy API key
|
const genAI = new GoogleGenerativeAI("sk-1234"); // litellm proxy API key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue