mirror of
https://github.com/jingyaogong/minimind.git
synced 2026-06-06 00:04:50 +00:00
fix top_p float bug
This commit is contained in:
@@ -55,7 +55,7 @@ class ChatRequest(BaseModel):
|
||||
model: str
|
||||
messages: list
|
||||
temperature: float = 0.7
|
||||
top_p: int = 0.92
|
||||
top_p: float = 0.92
|
||||
max_tokens: int = 8192
|
||||
stream: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user