Tree: Format
This commit is contained in:
parent
a635a719d7
commit
45b966363e
2 changed files with 8 additions and 6 deletions
|
|
@ -84,7 +84,7 @@ class ChatCompletionRequest(CommonCompletionRequest):
|
|||
|
||||
# Chat completions requests do not have a BOS token preference. Backend
|
||||
# respects the tokenization config for the individual model.
|
||||
add_bos_token: Optional[bool] = Field(default = None)
|
||||
add_bos_token: Optional[bool] = Field(default=None)
|
||||
|
||||
@field_validator("add_bos_token", mode="after")
|
||||
def force_bos_token(cls, v):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue