fix: gpt-4-32k model name empty in OpenAI response (#1941)

This commit is contained in:
takatost 2024-01-05 12:49:26 +08:00 committed by GitHub
parent a0f74cdd9d
commit 28883e80d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,7 +309,7 @@ class AzureOpenAILargeLanguageModel(_CommonAzureOpenAI, LargeLanguageModel):
# transform response
response = LLMResult(
model=response.model,
model=response.model or model,
prompt_messages=prompt_messages,
message=assistant_prompt_message,
usage=usage,