fix: code style and typo fix
- Fix typo: throught -> thought in prompts_en.py - Apply ruff-format to main.py, prompts_en.py, prompts_zh.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
main.py
4
main.py
@@ -204,7 +204,7 @@ def check_model_api(base_url: str, model_name: str, api_key: str = "EMPTY") -> b
|
||||
print("✅ OK")
|
||||
|
||||
# Check 2: Model exists
|
||||
'''
|
||||
"""
|
||||
print(f"2. Checking model '{model_name}'...", end=" ")
|
||||
if model_name in available_models:
|
||||
print("✅ OK")
|
||||
@@ -217,7 +217,7 @@ def check_model_api(base_url: str, model_name: str, api_key: str = "EMPTY") -> b
|
||||
if len(available_models) > 10:
|
||||
print(f" ... and {len(available_models) - 10} more")
|
||||
all_passed = False
|
||||
'''
|
||||
"""
|
||||
|
||||
except Exception as e:
|
||||
print("❌ FAILED")
|
||||
|
||||
Reference in New Issue
Block a user