From dbc5b3c42fd98f6785ffc0adebe228ddb1249d7c Mon Sep 17 00:00:00 2001 From: ahmetgunduz Date: Thu, 23 Oct 2025 20:24:10 +0000 Subject: [PATCH] PROD-2008-Modify-agents-warning-message --- aixplain/factories/agent_factory/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aixplain/factories/agent_factory/__init__.py b/aixplain/factories/agent_factory/__init__.py index 8d9cc129..b16761b5 100644 --- a/aixplain/factories/agent_factory/__init__.py +++ b/aixplain/factories/agent_factory/__init__.py @@ -126,9 +126,7 @@ def create( ), "'expected_output' must be a Pydantic BaseModel or a JSON object when 'output_format' is JSON." warnings.warn( - "Use `llm` to define the large language model (aixplain.modules.model.llm_model.LLM) to be used as agent. " - "Use `llm_id` to provide the model ID of the large language model to be used as agent. " - "Note: In upcoming releases, `llm` will become a required parameter.", + "Deprecating 'llm_id', use `llm` to define the large language model in agents.", UserWarning, ) from aixplain.factories.agent_factory.utils import (