We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f245ae commit c3d9a83Copy full SHA for c3d9a83
src/lmstudio/json_api.py
@@ -200,7 +200,7 @@
200
DEFAULT_TTL = 60 * 60 # By default, leaves idle models loaded for an hour
201
202
# lmstudio-js and lmstudio-python use the same API token environment variable
203
-_ENV_API_TOKEN = "LMSTUDIO_API_TOKEN"
+_ENV_API_TOKEN = "LM_API_TOKEN"
204
_LMS_API_TOKEN_REGEX = re.compile(
205
r"^sk-lm-(?P<clientIdentifier>[A-Za-z0-9]{8}):(?P<clientPasskey>[A-Za-z0-9]{20})$"
206
)
0 commit comments