From 17edc355ae3c73085525fe1314cb67ab25763d2b Mon Sep 17 00:00:00 2001 From: Denis Shulyaka Date: Sun, 20 Sep 2026 18:07:56 +0300 Subject: [PATCH] Use OpenAPI 3.1.0 format for ovhcloud_ai_endpoints (#182770) --- homeassistant/components/ovhcloud_ai_endpoints/entity.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/ovhcloud_ai_endpoints/entity.py b/homeassistant/components/ovhcloud_ai_endpoints/entity.py index 7bdaf5948315..0acf9d63a263 100644 --- a/homeassistant/components/ovhcloud_ai_endpoints/entity.py +++ b/homeassistant/components/ovhcloud_ai_endpoints/entity.py @@ -43,7 +43,11 @@ def _format_tool( """Format tool specification.""" tool_spec = FunctionDefinition( name=tool.name, - parameters=to_openapi(tool.parameters, custom_serializer=custom_serializer), + parameters=to_openapi( + tool.parameters, + custom_serializer=custom_serializer, + openapi_version="3.1.0", + ), ) if tool.description: tool_spec["description"] = tool.description