Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lmstudio/sync_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ def list_loaded_models(
@sdk_public_api()
def configure_default_client(api_host: str, api_token: str | None = None) -> None:
"""Set the server API host for the default global client (without creating the client)."""
global _default_api_host
global _default_api_host, _default_api_token
if _default_client is not None:
raise LMStudioClientError(
"Default client is already created, cannot set its API host or token."
Expand Down