Skip to content

Commit

Permalink
Update ChatGoogleGenerativeAI serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Aug 2, 2024
1 parent 668588e commit 5036783
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/langchain-google-genai/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ export class ChatGoogleGenerativeAI
};
}

lc_namespace = ["langchain", "chat_models", "google_genai"];

get lc_aliases() {
return {
apiKey: "google_api_key",
};
}

modelName = "gemini-pro";

model = "gemini-pro";
Expand Down

0 comments on commit 5036783

Please sign in to comment.