mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix pass through tests vertex
This commit is contained in:
parent
89b5eeb345
commit
fe3a13ecf9
2 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ describe('Gemini AI Tests', () => {
|
|||
};
|
||||
|
||||
const model = genAI.getGenerativeModel({
|
||||
model: 'gemini-pro'
|
||||
model: 'gemini-1.5-pro'
|
||||
}, requestOptions);
|
||||
|
||||
const prompt = 'Say "hello test" and nothing else';
|
||||
|
@ -76,7 +76,7 @@ describe('Gemini AI Tests', () => {
|
|||
};
|
||||
|
||||
const model = genAI.getGenerativeModel({
|
||||
model: 'gemini-pro'
|
||||
model: 'gemini-1.5-pro'
|
||||
}, requestOptions);
|
||||
|
||||
const prompt = 'Say "hello test" and nothing else';
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
const { GoogleGenerativeAI, ModelParams, RequestOptions } = require("@google/generative-ai");
|
||||
|
||||
const modelParams = {
|
||||
model: 'gemini-pro',
|
||||
model: 'gemini-1.5-pro',
|
||||
};
|
||||
|
||||
const requestOptions = {
|
||||
baseUrl: 'http://127.0.0.1:4000/gemini',
|
||||
customHeaders: {
|
||||
"tags": "gemini-js-sdk,gemini-pro"
|
||||
"tags": "gemini-js-sdk,gemini-1.5-pro"
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue