Ver código fonte

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

Co-authored-by: xander-art <xander-art@gmail.com>
tags/0.15.0
xander-art 10 meses atrás
pai
commit
baeddd4d15
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 0
api/core/model_runtime/model_providers/hunyuan/llm/llm.py Ver arquivo

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

+ 868
- 911
api/poetry.lock
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 1
- 1
api/pyproject.toml Ver arquivo

@@ -82,7 +82,7 @@ scikit-learn = "~1.5.1"
sentry-sdk = { version = "~1.44.1", extras = ["flask"] }
sqlalchemy = "~2.0.29"
starlette = "0.41.0"
tencentcloud-sdk-python-hunyuan = "~3.0.1158"
tencentcloud-sdk-python-hunyuan = "~3.0.1294"
tiktoken = "~0.8.0"
tokenizers = "~0.15.0"
transformers = "~4.35.0"

Carregando…
Cancelar
Salvar