Skip to content

A programming framework for agentic AI

rename llm to models (#49)

Jack Gerritsad513d501748
diff --git a/docs/src/guides/azure_openai_with_aad_auth.md b/docs/src/guides/azure_openai_with_aad_auth.md
index c4dcc1d41..2700e6d20 100644
--- a/docs/src/guides/azure_openai_with_aad_auth.md
+++ b/docs/src/guides/azure_openai_with_aad_auth.md
@@ -15,7 +15,7 @@ pip install azure-identity
## Using the Model Client
```python
-from agnext.components.llm import AzureOpenAI
+from agnext.components.models import AzureOpenAI
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
# Create the token provider
diff --git a/examples/orchestrator.py b/examples/orchestrator.py
index d0c576c79..4f86ced7a 100644
--- a/examples/orchestrator.py
+++ b/examples/orchestrator.py
@@ -16,7 +16,7 @@ from agnext.chat.types import TextMessage
from agnext.components.function_executor._impl.in_process_function_executor import (
InProcessFunctionExecutor,
)
-from agnext.components.llm import OpenAI, SystemMessage
+from agnext.components.models import OpenAI, SystemMessage
from agnext.core import Agent, AgentRuntime
from agnext.core.intervention import DefaultInterventionHandler, DropMessage
from tavily import TavilyClient
diff --git a/src/agnext/chat/agents/chat_completion_agent.py b/src/agnext/chat/agents/chat_completion_agent.py
index 84537a75d..78465b74d 100644
--- a/src/agnext/chat/agents/chat_completion_agent.py
+++ b/src/agnext/chat/agents/chat_completion_agent.py
@@ -13,7 +13,7 @@ from agnext.chat.types import (
)
from agnext.chat.utils import convert_messages_to_llm_messages
from agnext.components.function_executor import FunctionExecutor
-from agnext.components.llm import FunctionExecutionResult, FunctionExecutionResultMessage, ModelClient, SystemMessage
+from agnext.components.models import FunctionExecutionResult, FunctionExecutionResultMessage, ModelClient, SystemMessage
from agnext.components.type_routed_agent import TypeRoutedAgent, message_handler
from agnext.components.types import (
FunctionCall,
diff --git a/src/agnext/chat/types.py b/src/agnext/chat/types.py
index 9eda88e18..2c3ba65e2 100644
--- a/src/agnext/chat/types.py
+++ b/src/agnext/chat/types.py
@@ -5,7 +5,7 @@ from enum import Enum
from typing import List, Union
from agnext.components.image import Image
-from agnext.components.llm import FunctionExecutionResultMessage
+from agnext.components.models import FunctionExecutionResultMessage
from agnext.components.types import FunctionCall
diff --git a/src/agnext/chat/utils.py b/src/agnext/chat/utils.py
index 321771ddb..19cba873b 100644
--- a/src/agnext/chat/utils.py
+++ b/src/agnext/chat/utils.py
@@ -8,7 +8,7 @@ from agnext.chat.types import (
MultiModalMessage,
TextMessage,
)
-from agnext.components.llm import (
+from agnext.components.models import (
AssistantMessage,
FunctionExecutionResult,
FunctionExecutionResultMessage,
diff --git a/src/agnext/components/llm/__init__.py b/src/agnext/components/models/__init__.py
similarity index 100%
rename from src/agnext/components/llm/__init__.py
rename to src/agnext/components/models/__init__.py
diff --git a/src/agnext/components/llm/_model_client.py b/src/agnext/components/models/_model_client.py
similarity index 100%
rename from src/agnext/components/llm/_model_client.py
rename to src/agnext/components/models/_model_client.py
diff --git a/src/agnext/components/llm/_model_info.py b/src/agnext/components/models/_model_info.py
similarity index 100%
rename from src/agnext/components/llm/_model_info.py
rename to src/agnext/components/models/_model_info.py
diff --git a/src/agnext/components/llm/_openai_client.py b/src/agnext/components/models/_openai_client.py
similarity index 100%
rename from src/agnext/components/llm/_openai_client.py
rename to src/agnext/components/models/_openai_client.py
diff --git a/src/agnext/components/llm/_types.py b/src/agnext/components/models/_types.py
similarity index 100%
rename from src/agnext/components/llm/_types.py
rename to src/agnext/components/models/_types.py
diff --git a/src/agnext/components/llm/config/__init__.py b/src/agnext/components/models/config/__init__.py
similarity index 100%
rename from src/agnext/components/llm/config/__init__.py
rename to src/agnext/components/models/config/__init__.py