Skip to content

Agent Mesh

Update sam-mcp-python/examples/gemini_agent.py

Antonio Ojea9b6aef24701a
diff --git a/sam-mcp-python/examples/gemini_agent.py b/sam-mcp-python/examples/gemini_agent.py
index bece88a5..abac6c3b 100644
--- a/sam-mcp-python/examples/gemini_agent.py
+++ b/sam-mcp-python/examples/gemini_agent.py
@@ -93,7 +93,7 @@ async def run_agent():
while True:
try:
- user_input = input("\nYou > ")
+ user_input = await asyncio.to_thread(input, "\nYou > ")
if user_input.lower() in ["exit", "quit"]:
break
if not user_input.strip():