feat:Add support for stop parameter in hunyuan model #12313 (#12315)

Co-authored-by: xander-art <xander-art@gmail.com>
This commit is contained in:
xander-art 2025-01-03 09:15:04 +08:00 committed by GitHub
commit baeddd4d15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 867 additions and 909 deletions

View file

@ -54,6 +54,7 @@ class HunyuanLargeLanguageModel(LargeLanguageModel):
"Model": model,
"Messages": messages_dict,
"Stream": stream,
"Stop": stop,
**custom_parameters,
}
# add Tools and ToolChoice