Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 4c6a85e

Browse files
committed
fix extra body pass
1 parent f2d644c commit 4c6a85e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vendi/completions/completions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ def create(
8989
"checkpoint": checkpoint,
9090
"request_id": request_id,
9191
"openai_compatible": openai_compatible,
92-
**extra_body
9392
}
93+
if extra_body:
94+
data.update(extra_body)
9495

9596
if stop is not None:
9697
data["stop"] = stop

0 commit comments

Comments
 (0)