diff --git a/code/chapter1/FirstAgentTest.py b/code/chapter1/FirstAgentTest.py index 3ce87d4..dd8228a 100644 --- a/code/chapter1/FirstAgentTest.py +++ b/code/chapter1/FirstAgentTest.py @@ -88,7 +88,7 @@ def get_attraction(city: str, weather: str) -> str: formatted_results.append(f"- {result['title']}: {result['content']}") if not formatted_results: - return "抱歉,没有找到相关的旅游景点推荐。" + return "抱歉,没有找到相关的旅游景点推荐。" return "根据搜索,为您找到以下信息:\n" + "\n".join(formatted_results)