Skip to content

Commit ef64fde

Browse files
committed
back to claude for debugging
Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: 68dfb6c Pull-Request-resolved: #250
1 parent 2d164f4 commit ef64fde

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

codemcp/agno.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from agno.api.playground import PlaygroundEndpointCreate, create_playground_endpoint
88
from agno.cli.console import console
99
from agno.cli.settings import agno_cli_settings
10-
from agno.models.google import Gemini
1110
from agno.tools.mcp import MCPTools
1211
from agno.utils.log import logger
1312
from fastapi import FastAPI
@@ -64,9 +63,11 @@ async def serve_playground_app_async(
6463
async def main():
6564
async with MCPTools(f"{sys.executable} -m codemcp.hot_reload_entry") as codemcp:
6665
# TODO: cli-ify the model
66+
from agno.models.anthropic import Claude
67+
#from agno.models.google import Gemini
6768
agent = Agent(
68-
# model=Claude(id="claude-3-7-sonnet-20250219"),
69-
model=Gemini(id="gemini-2.5-pro-exp-03-25"),
69+
model=Claude(id="claude-3-7-sonnet-20250219"),
70+
# model=Gemini(id="gemini-2.5-pro-exp-03-25"),
7071
tools=[codemcp],
7172
instructions="",
7273
markdown=True,
@@ -88,7 +89,7 @@ async def main():
8889
user_input = await loop.run_in_executor(None, lambda: input("> "))
8990

9091
# Properly await the async print_response method
91-
await agent.print_response(
92+
await agent.aprint_response(
9293
user_input,
9394
stream=True,
9495
show_full_reasoning=True,

0 commit comments

Comments
 (0)