fix top_p float bug

This commit is contained in:
jingyaogong 2025-04-09 16:52:20 +08:00
parent 4a7c1c49e8
commit 4a758564e4

View File

@ -55,7 +55,7 @@ class ChatRequest(BaseModel):
model: str model: str
messages: list messages: list
temperature: float = 0.7 temperature: float = 0.7
top_p: int = 0.92 top_p: float = 0.92
max_tokens: int = 8192 max_tokens: int = 8192
stream: bool = False stream: bool = False