multiple: merge master into v0.3rc branch (#26163)

Signed-off-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com>
Co-authored-by: ZhangShenao <15201440436@163.com>
Co-authored-by: Friso H. Kingma <fhkingma@gmail.com>
Co-authored-by: Chester Curme <chester.curme@gmail.com>
Co-authored-by: ChengZi <chen.zhang@zilliz.com>
This commit is contained in:
Erick Friis
2024-09-06 13:42:29 -07:00
committed by GitHub
parent bccc546a25
commit b664b3364c
15 changed files with 1111 additions and 411 deletions

View File

@@ -741,7 +741,7 @@ class BaseChatOpenAI(BaseChatModel):
)
return
if self.include_response_headers:
raw_response = self.async_client.with_raw_response.create(**payload)
raw_response = await self.async_client.with_raw_response.create(**payload)
response = raw_response.parse()
base_generation_info = {"headers": dict(raw_response.headers)}
else: