Skip to content

Commit

Permalink
update google
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlangston committed Aug 4, 2024
1 parent 7ed31b9 commit 7a36c88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ApiClientGoogle.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ApiClientGoogle extends ApiClient {
const spinner = ora().start();

// Initialize the model
this.model = this.google.getGenerativeModel({model: model}, {apiVersion: 'v1beta'});
this.model = this.google.getGenerativeModel({model: model}, {apiVersion: 'v1'});

//console.log(formattedMessageLog);
const chat = this.model.startChat({
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@anthropic-ai/sdk": "^0.12.4",
"@google/generative-ai": "^0.3.0",
"@google/generative-ai": "^0.16.0",
"@mistralai/mistralai": "^0.0.10",
"axios": "^1.6.2",
"cheerio": "^1.0.0-rc.12",
Expand Down

0 comments on commit 7a36c88

Please sign in to comment.