Files
mcp-example/search_server/test_search_web.py
2025-08-15 19:50:11 +08:00

11 lines
283 B
Python

import asyncio
from search import search_web
async def test_search_web_output():
query = "曼联最新的英超排名是多少"
result = await search_web(query)
print("搜索结果输出:\n", result)
if __name__ == "__main__":
asyncio.run(test_search_web_output())