feat: 默认启用 LLM 的 Google 搜索功能,并添加禁用选项。

This commit is contained in:
xucheng 2026-01-02 22:48:33 +08:00
parent 546516ef89
commit 051e4d31a7

View File

@ -166,7 +166,8 @@ def main():
parser = argparse.ArgumentParser(description="Stock Analysis Automation")
parser.add_argument("market", nargs='?', help="Market (CN/US/HK/JP)")
parser.add_argument("symbol", nargs='?', help="Stock Symbol")
parser.add_argument("--search", action="store_true", help="Enable Google Search for LLM")
parser.add_argument("--search", action="store_true", default=True, help="Enable Google Search for LLM (enabled by default)")
parser.add_argument("--no-search", dest="search", action="store_false", help="Disable Google Search for LLM")
args = parser.parse_args()