Skip to content

Commit

Permalink
feat:Add support for stop parameter in hunyuan model langgenius#12313
Browse files Browse the repository at this point in the history
  • Loading branch information
xander-art committed Jan 2, 2025
1 parent fa24525 commit 2844eee
Show file tree
Hide file tree
Showing 3 changed files with 870 additions and 912 deletions.
1 change: 1 addition & 0 deletions api/core/model_runtime/model_providers/hunyuan/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def _invoke(
"Model": model,
"Messages": messages_dict,
"Stream": stream,
"Stop": stop,
**custom_parameters,
}
# add Tools and ToolChoice
Expand Down
Loading

0 comments on commit 2844eee

Please sign in to comment.