Skip to content

Commit 3c20539

Browse files
authored
doc(langchain-sdk): Use Gemini 1.5 Flash model in LangGraph example in the README. (#194)
1 parent 819b1a1 commit 3c20539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ toolkit.
9090
```py
9191
from langchain_google_vertexai import ChatVertexAI
9292

93-
model = ChatVertexAI(model="gemini-1.5-flash")
93+
model = ChatVertexAI(model="gemini-1.5-flash-001")
9494

9595
# Initialize agent with tools
9696
agent = model.bind_tools(tools)
@@ -123,7 +123,7 @@ def call_model(state: MessagesState):
123123
# We return a list, because this will get added to the existing list
124124
return {"messages": [response]}
125125

126-
model = ChatVertexAI()
126+
model = ChatVertexAI(model="gemini-1.5-flash-001")
127127
builder = StateGraph(MessagesState)
128128
tool_node = ToolNode(tools)
129129

0 commit comments

Comments
 (0)