Skip to content

Commit d464f82

Browse files
LicsDaShenglics6
authored andcommitted
Fix the wrong part of the Quickstart sample code (langchain-ai#21)
Co-authored-by: lics6 <[email protected]>
1 parent d4b30fe commit d464f82

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
@@ -98,7 +98,7 @@ from mcp.server.fastmcp import FastMCP
9898
mcp = FastMCP("Weather")
9999

100100
@mcp.tool()
101-
async def get_weather(location: str) -> int:
101+
async def get_weather(location: str) -> str:
102102
"""Get weather for location."""
103103
return "It's always sunny in New York"
104104

@@ -189,4 +189,4 @@ In your [`langgraph.json`](https://langchain-ai.github.io/langgraph/cloud/refere
189189
"agent": "./graph.py:make_graph"
190190
}
191191
}
192-
```
192+
```

0 commit comments

Comments
 (0)