x
This commit is contained in:
@@ -25,6 +25,7 @@ def build_command() -> list[str]:
|
||||
api_key = runtime["api_key"] or ""
|
||||
dtype = str(updates["dtype"] or runtime["dtype"])
|
||||
quantization = str(updates["quantization"] or "").strip()
|
||||
model_impl = str(updates["model_impl"] or "").strip()
|
||||
reasoning_parser = str(updates["reasoning_parser"] or "").strip()
|
||||
revision = runtime["revision"] or ""
|
||||
cmd = [
|
||||
@@ -68,6 +69,8 @@ def build_command() -> list[str]:
|
||||
cmd.extend(["--reasoning-parser", reasoning_parser])
|
||||
if quantization:
|
||||
cmd.extend(["--quantization", quantization])
|
||||
if model_impl:
|
||||
cmd.extend(["--model-impl", model_impl])
|
||||
if revision:
|
||||
cmd.extend(["--revision", revision])
|
||||
if api_key:
|
||||
|
||||
Reference in New Issue
Block a user