refactor: clean up imports

This commit is contained in:
mogita 2025-08-16 16:29:03 +08:00
parent 811d57fb00
commit 80e692a51d
No known key found for this signature in database
GPG Key ID: A0AA1B9C57A48ECF
1 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import os
import questionary import questionary
import re import re
from datetime import datetime from datetime import datetime
@ -398,8 +399,6 @@ def get_custom_provider_info() -> tuple[str, str] | None:
Raises: Raises:
SystemExit: If custom URL is provided but invalid (exits with error message) SystemExit: If custom URL is provided but invalid (exits with error message)
""" """
import os
from urllib.parse import urlparse
custom_url = os.getenv("CUSTOM_BASE_URL") custom_url = os.getenv("CUSTOM_BASE_URL")
custom_api_key = os.getenv("CUSTOM_API_KEY") custom_api_key = os.getenv("CUSTOM_API_KEY")