refactor: clean up imports
This commit is contained in:
parent
811d57fb00
commit
80e692a51d
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue