Skip to content

Commit

Permalink
rename llm to models (autogenhub#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits authored Jun 4, 2024
1 parent ed02297 commit ad513d5
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/guides/azure_openai_with_aad_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion src/agnext/chat/agents/chat_completion_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)
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,
Expand Down
2 changes: 1 addition & 1 deletion src/agnext/chat/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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


Expand Down
2 changes: 1 addition & 1 deletion src/agnext/chat/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
MultiModalMessage,
TextMessage,
)
from agnext.components.llm import (
from agnext.components.models import (
AssistantMessage,
FunctionExecutionResult,
FunctionExecutionResultMessage,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ad513d5

Please sign in to comment.