From f8658e2d77e76e80d1fb4e51775d7d73f05b692e Mon Sep 17 00:00:00 2001 From: Matthew_Astral <50231148+ydzat@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:23:49 +0100 Subject: [PATCH] fix: get_llm_models: model_service is a module, not an attribute (#1762) --- pkg/plugin/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/handler.py b/pkg/plugin/handler.py index ef75fac7..337539f5 100644 --- a/pkg/plugin/handler.py +++ b/pkg/plugin/handler.py @@ -298,7 +298,7 @@ class RuntimeConnectionHandler(handler.Handler): @self.action(PluginToRuntimeAction.GET_LLM_MODELS) async def get_llm_models(data: dict[str, Any]) -> handler.ActionResponse: """Get llm models""" - llm_models = await self.ap.model_service.get_llm_models(include_secret=False) + llm_models = await self.ap.llm_model_service.get_llm_models(include_secret=False) return handler.ActionResponse.success( data={ 'llm_models': llm_models,