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 f1d2a97 commit c1762ffCopy full SHA for c1762ff
fastchat/serve/openai_api_server.py
@@ -208,7 +208,7 @@ def check_requests(request) -> Optional[JSONResponse]:
208
if request.top_p is not None and request.top_p > 1:
209
return create_error_response(
210
ErrorCode.PARAM_OUT_OF_RANGE,
211
- f"{request.top_p} is greater than the maximum of 1 - 'temperature'",
+ f"{request.top_p} is greater than the maximum of 1 - 'top_p'",
212
)
213
if request.top_k is not None and (request.top_k > -1 and request.top_k < 1):
214
0 commit comments