mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
feat: forward zhipu finish_reason (#7560)
This commit is contained in:
parent
a40073afa4
commit
a24717765e
|
@ -444,6 +444,7 @@ class ZhipuAILargeLanguageModel(_CommonZhipuaiAI, LargeLanguageModel):
|
||||||
delta=LLMResultChunkDelta(
|
delta=LLMResultChunkDelta(
|
||||||
index=delta.index,
|
index=delta.index,
|
||||||
message=assistant_prompt_message,
|
message=assistant_prompt_message,
|
||||||
|
finish_reason=delta.finish_reason
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user