11 lines
283 B
Python
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())
|