From 347fbf1625823ce3638ae8bbae883ae1a39258ac Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Mon, 12 May 2025 07:45:22 -0400 Subject: [PATCH] docs: remove unused annotation comments in readmes (#4656) --- README.md | 8 ++++---- libs/langgraph/README.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4425ca270..f818e1bf8 100644 --- a/README.md +++ b/README.md @@ -30,14 +30,14 @@ Then, create an agent [using prebuilt components](https://langchain-ai.github.io from langgraph.prebuilt import create_react_agent -def get_weather(city: str) -> str: # (1)! +def get_weather(city: str) -> str: """Get weather for a given city.""" return f"It's always sunny in {city}!" agent = create_react_agent( - model="anthropic:claude-3-7-sonnet-latest", # (2)! - tools=[get_weather], # (3)! - prompt="You are a helpful assistant" # (4)! + model="anthropic:claude-3-7-sonnet-latest", + tools=[get_weather], + prompt="You are a helpful assistant" ) # Run the agent diff --git a/libs/langgraph/README.md b/libs/langgraph/README.md index 4425ca270..f818e1bf8 100644 --- a/libs/langgraph/README.md +++ b/libs/langgraph/README.md @@ -30,14 +30,14 @@ Then, create an agent [using prebuilt components](https://langchain-ai.github.io from langgraph.prebuilt import create_react_agent -def get_weather(city: str) -> str: # (1)! +def get_weather(city: str) -> str: """Get weather for a given city.""" return f"It's always sunny in {city}!" agent = create_react_agent( - model="anthropic:claude-3-7-sonnet-latest", # (2)! - tools=[get_weather], # (3)! - prompt="You are a helpful assistant" # (4)! + model="anthropic:claude-3-7-sonnet-latest", + tools=[get_weather], + prompt="You are a helpful assistant" ) # Run the agent