Skip to content

Commit 8548876

Browse files
LicsDaShenglics6
andauthored
Fix the wrong part of the Quickstart sample code (#21)
Co-authored-by: lics6 <[email protected]>
1 parent 504697e commit 8548876

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

@@ -185,4 +185,4 @@ In your [`langgraph.json`](https://langchain-ai.github.io/langgraph/cloud/refere
185185
"agent": "./graph.py:make_graph"
186186
}
187187
}
188-
```
188+
```

0 commit comments

Comments
 (0)