from __future__ import annotations """快速验证项目基础配置与外部服务连接是否可用。""" import asyncio from rich.console import Console from scripts.test_amap_mcp import main as test_amap_mcp from scripts.test_serpapi import main as test_serpapi console = Console() async def main()->None: console.rule("[bold blue]TravelMind 外部服务连接性测试") console.print("\n[bold]开始测试 SerpAPI[/bold]") await test_serpapi() console.print("\n[bold]开始测试 高德MCP[/bold]") await test_amap_mcp() console.rule("[bold green]全部外部服务测试通过") if __name__ == "__main__": asyncio.run(main())