forked from phoenix/litellm-mirror
(fix) proxy cli --version
This commit is contained in:
parent
b70bfbb06f
commit
77bcaaae9e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def run_server(host, port, api_base, api_version, model, alias, add_key, headers
|
||||||
except:
|
except:
|
||||||
raise Exception("LiteLLM: No logs saved!")
|
raise Exception("LiteLLM: No logs saved!")
|
||||||
return
|
return
|
||||||
if version is not None:
|
if version == True:
|
||||||
pkg_version = importlib.metadata.version("litellm")
|
pkg_version = importlib.metadata.version("litellm")
|
||||||
click.echo(f'\nLiteLLM: Current Version = {pkg_version}\n')
|
click.echo(f'\nLiteLLM: Current Version = {pkg_version}\n')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue