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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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