From 2f05892d3e7c2f62637772b451c74907e01d236f Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 27 Oct 2026 09:23:23 +0100 Subject: [PATCH] test: OpenAPI - replace retired gpt-4.1-nano with gpt-5.6-luna --- integrations/openapi/tests/test_openapi_service.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/integrations/openapi/tests/test_openapi_service.py b/integrations/openapi/tests/test_openapi_service.py index 352a589369..d08fd1b7df 100644 --- a/integrations/openapi/tests/test_openapi_service.py +++ b/integrations/openapi/tests/test_openapi_service.py @@ -363,7 +363,10 @@ def prepare_fc_params(openai_functions_schema: dict[str, Any]) -> dict[str, Any] pipe = Pipeline() pipe.add_component("spec_to_functions", OpenAPIServiceToFunctions()) - pipe.add_component("functions_llm", OpenAIChatGenerator(model="gpt-4.1-nano")) + pipe.add_component( + "functions_llm", + OpenAIChatGenerator(model="gpt-5.6-luna", generation_kwargs={"reasoning_effort": "none"}), + ) pipe.add_component("openapi_container", OpenAPIServiceConnector()) pipe.add_component( @@ -375,7 +378,7 @@ def prepare_fc_params(openai_functions_schema: dict[str, Any]) -> dict[str, Any] "final_prompt_adapter", OutputAdapter("{{system_message + service_response}}", list[ChatMessage], unsafe=True), ) - pipe.add_component("llm", OpenAIChatGenerator(model="gpt-4.1-nano")) + pipe.add_component("llm", OpenAIChatGenerator(model="gpt-5.6-luna")) pipe.connect("spec_to_functions.functions", "prepare_fc_adapter.functions") pipe.connect("spec_to_functions.openapi_specs", "openapi_spec_adapter.specs")