Skip to content

Commit 5a03f98

Browse files
committed
base model is optional
Signed-off-by: Kunjan Patel <[email protected]>
1 parent 5cbaeef commit 5a03f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dynamic-lora-sidecar/sidecar/sidecar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def load_adapter(self, adapter):
113113
payload = {
114114
"lora_name": adapter_id,
115115
"lora_path": adapter["source"],
116-
"base_model_name": adapter["base-model"],
116+
"base_model_name": adapter.get("base-model",""),
117117
}
118118
try:
119119
response = requests.post(url, json=payload)

0 commit comments

Comments
 (0)