Skip to content

Commit

Permalink
Update default API version to v1beta
Browse files Browse the repository at this point in the history
Related to conversation in #7 updating api version default to v1beta
  • Loading branch information
mhawksey authored Sep 15, 2024
1 parent 562da26 commit 3c6af0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeminiApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ class ChatSession extends _CoreFunctions {
*/
var BASE_URL_STUDIO = "https://generativelanguage.googleapis.com";
var BASE_URL_VERTEX = "https://{REGION}-aiplatform.googleapis.com/{apiVersion}/projects/{PROJECT_ID}/locations/{REGION}/publishers/google";
var DEFAULT_API_VERSION = "v1";
var DEFAULT_API_VERSION = "v1beta";

/**
* import from https://github.com/google/generative-ai-js/blob/main/packages/main/types/enums.ts
Expand Down

0 comments on commit 3c6af0a

Please sign in to comment.