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")