Skip to content

Commit

Permalink
Update ChatGoogleGenerativeAI serialization (#6353)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Aug 5, 2024
1 parent 0f557d3 commit 3429f09
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 3429f09

Please sign in to comment.