移除配置交互式测试LLM连接的逻辑

This commit is contained in:
songsenand 2026-01-25 01:49:16 +08:00
parent 2b0d43e34b
commit 7ab346c3db
2 changed files with 0 additions and 4 deletions

View File

@ -142,9 +142,6 @@ def config_interactive():
console.print("\n[green]✅ 配置已更新[/green]") console.print("\n[green]✅ 配置已更新[/green]")
console.print(cli._create_config_table(updated_config.model_dump())) console.print(cli._create_config_table(updated_config.model_dump()))
# 询问是否测试连接
if Confirm.ask("[cyan]是否测试LLM连接[/cyan]"):
check(test=True)
@app.command(help="检查LLM可用性") @app.command(help="检查LLM可用性")
def check( def check(

View File

@ -83,7 +83,6 @@ class ConfigManager:
return return
self.ensure_config_dir() self.ensure_config_dir()
try: try:
# 直接保存所有字段,不排除任何内容 # 直接保存所有字段,不排除任何内容
config_dict = self._config.model_dump() config_dict = self._config.model_dump()