mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 12:40:10 +00:00
fix: import TaskState from correct source
This commit is contained in:
parent
f07be46eb7
commit
b842793c5f
3 changed files with 6 additions and 3 deletions
|
|
@ -3,7 +3,8 @@ import pytest
|
|||
|
||||
from camel.agents.chat_agent import AsyncStreamingChatAgentResponse
|
||||
from camel.societies.workforce.utils import TaskResult
|
||||
from camel.tasks import Task, TaskState
|
||||
from camel.tasks import Task
|
||||
from camel.tasks.task import TaskState
|
||||
|
||||
from app.utils.single_agent_worker import SingleAgentWorker
|
||||
from app.utils.agent import ListenChatAgent
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ import pytest
|
|||
|
||||
from camel.societies.workforce.workforce import WorkforceState
|
||||
from camel.societies.workforce.utils import TaskAssignResult, TaskAssignment
|
||||
from camel.tasks import Task, TaskState
|
||||
from camel.tasks import Task
|
||||
from camel.tasks.task import TaskState
|
||||
from camel.agents import ChatAgent
|
||||
|
||||
from app.utils.workforce import Workforce
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue