Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/oss/langgraph/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def call_llm(messages: list[BaseMessage]):
```typescript
import { task, entrypoint } from "@langchain/langgraph";
import { SystemMessage } from "@langchain/core/messages";
const callmodel = task({ name: "callLlm" }, async (messages: BaseMessage[]) => {
const callLlm = task({ name: "callLlm" }, async (messages: BaseMessage[]) => {
return modelWithTools.invoke([
new SystemMessage(
"You are a helpful assistant tasked with performing arithmetic on a set of inputs."
Expand Down Expand Up @@ -1097,7 +1097,7 @@ const modelWithTools = model.bindTools(tools);

import { task, entrypoint } from "@langchain/langgraph";
import { SystemMessage } from "@langchain/core/messages";
const callmodel = task({ name: "callLlm" }, async (messages: BaseMessage[]) => {
const callLlm = task({ name: "callLlm" }, async (messages: BaseMessage[]) => {
return modelWithTools.invoke([
new SystemMessage(
"You are a helpful assistant tasked with performing arithmetic on a set of inputs."
Expand Down