Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 128dc47

Browse filesBrowse files
committed
1 parent 7a3f878 commit 128dc47
Copy full SHA for 128dc47

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎llama_cpp/server/app.py

Copy file name to clipboardExpand all lines: llama_cpp/server/app.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ class CreateChatCompletionRequest(BaseModel):
772772
temperature: float = temperature_field
773773
top_p: float = top_p_field
774774
min_p: float = min_p_field
775-
stop: Optional[List[str]] = stop_field
775+
stop: Optional[Union[str, List[str]]] = stop_field
776776
stream: bool = stream_field
777777
presence_penalty: Optional[float] = presence_penalty_field
778778
frequency_penalty: Optional[float] = frequency_penalty_field

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.