77from agno .api .playground import PlaygroundEndpointCreate , create_playground_endpoint
88from agno .cli .console import console
99from agno .cli .settings import agno_cli_settings
10- from agno .models .google import Gemini
1110from agno .tools .mcp import MCPTools
1211from agno .utils .log import logger
1312from fastapi import FastAPI
@@ -64,9 +63,11 @@ async def serve_playground_app_async(
6463async 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