Skip to content

Commit 32e102c

Browse files
committed
init
1 parent 17c540a commit 32e102c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vllm/entrypoints/openai/protocol.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,6 +1641,18 @@ class EmbeddingChatRequest(OpenAIBaseModel):
16411641
"to match OpenAI API."
16421642
),
16431643
)
1644+
binary_response: bool = Field(
1645+
default=False,
1646+
description=(
1647+
"Whether to use binary response."
1648+
),
1649+
)
1650+
endianness: Literal["big-endian", "little-endian"] = Field(
1651+
default="big-endian",
1652+
description=(
1653+
"Binary response endianness. Use big-endian by default."
1654+
),
1655+
)
16441656
# --8<-- [end:chat-embedding-extra-params]
16451657

16461658
@model_validator(mode="before")

0 commit comments

Comments
 (0)