mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-23 04:17:45 +00:00
Update agent_model.py
This commit is contained in:
parent
5adf93c160
commit
b450c7efd5
1 changed files with 5 additions and 4 deletions
|
|
@ -17,15 +17,16 @@ import uuid
|
|||
from collections.abc import Callable
|
||||
from typing import Any
|
||||
|
||||
from app.agent.listen_chat_agent import ListenChatAgent, logger
|
||||
from app.model.chat import AgentModelConfig, Chat
|
||||
from app.service.task import ActionCreateAgentData, Agents, get_task_lock
|
||||
from app.utils.event_loop_utils import _schedule_async_task
|
||||
from camel.messages import BaseMessage
|
||||
from camel.models import ModelFactory
|
||||
from camel.toolkits import FunctionTool, RegisteredAgentToolkit
|
||||
from camel.types import ModelPlatformType
|
||||
|
||||
from app.agent.listen_chat_agent import ListenChatAgent, logger
|
||||
from app.model.chat import AgentModelConfig, Chat
|
||||
from app.service.task import ActionCreateAgentData, Agents, get_task_lock
|
||||
from app.utils.event_loop_utils import _schedule_async_task
|
||||
|
||||
|
||||
def agent_model(
|
||||
agent_name: str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue