mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Bump openai to 1.68.2 (#141154)
* Bump openai to 1.68.2 * Remove unused type ignore
This commit is contained in:
parent
65279c94ac
commit
3a80a2d5b9
@ -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),
|
||||
|
@ -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
2
requirements_all.txt
generated
@ -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
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user