feat: forward zhipu finish_reason (#7560)

This commit is contained in:
orangeclk
2024-08-23 11:15:38 +08:00
committed by GitHub
parent a40073afa4
commit a24717765e

View File

@@ -444,6 +444,7 @@ class ZhipuAILargeLanguageModel(_CommonZhipuaiAI, LargeLanguageModel):
delta=LLMResultChunkDelta(
index=delta.index,
message=assistant_prompt_message,
finish_reason=delta.finish_reason
)
)