Bump openai to 1.68.2 (#141154)

* Bump openai to 1.68.2

* Remove unused type ignore
This commit is contained in:
Allen Porter 2025-03-23 02:12:02 -07:00 committed by GitHub
parent 65279c94ac
commit 3a80a2d5b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 5 deletions

View File

@ -99,8 +99,7 @@ def _convert_content_to_param(
if isinstance(content, conversation.AssistantContent) and content.tool_calls:
messages.extend(
# https://github.com/openai/openai-python/issues/2205
ResponseFunctionToolCallParam( # type: ignore[typeddict-item]
ResponseFunctionToolCallParam(
type="function_call",
name=tool_call.tool_name,
arguments=json.dumps(tool_call.tool_args),

View File

@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/openai_conversation",
"integration_type": "service",
"iot_class": "cloud_polling",
"requirements": ["openai==1.66.3"]
"requirements": ["openai==1.68.2"]
}

2
requirements_all.txt generated
View File

@ -1581,7 +1581,7 @@ open-garage==0.2.0
open-meteo==0.3.2
# homeassistant.components.openai_conversation
openai==1.66.3
openai==1.68.2
# homeassistant.components.openerz
openerz-api==0.3.0

View File

@ -1326,7 +1326,7 @@ open-garage==0.2.0
open-meteo==0.3.2
# homeassistant.components.openai_conversation
openai==1.66.3
openai==1.68.2
# homeassistant.components.openerz
openerz-api==0.3.0