8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3f878 commit 128dc47Copy full SHA for 128dc47
llama_cpp/server/app.py
@@ -772,7 +772,7 @@ class CreateChatCompletionRequest(BaseModel):
772
temperature: float = temperature_field
773
top_p: float = top_p_field
774
min_p: float = min_p_field
775
- stop: Optional[List[str]] = stop_field
+ stop: Optional[Union[str, List[str]]] = stop_field
776
stream: bool = stream_field
777
presence_penalty: Optional[float] = presence_penalty_field
778
frequency_penalty: Optional[float] = frequency_penalty_field
0 commit comments