mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 07:38:29 +00:00
@@ -1,4 +1,4 @@
|
||||
from .agent import Agent
|
||||
from .crew import Crew
|
||||
from .process import Process
|
||||
from .task import Task
|
||||
from crewai.agent import Agent
|
||||
from crewai.crew import Crew
|
||||
from crewai.process import Process
|
||||
from crewai.task import Task
|
||||
|
||||
@@ -8,8 +8,8 @@ from langchain.tools.render import render_text_description
|
||||
from langchain_core.runnables.config import RunnableConfig
|
||||
from pydantic import BaseModel, Field, InstanceOf, model_validator
|
||||
|
||||
from .agents import CacheHandler, CrewAgentOutputParser, ToolsHandler
|
||||
from .prompts import Prompts
|
||||
from crewai.agents import CacheHandler, CrewAgentOutputParser, ToolsHandler
|
||||
from crewai.prompts import Prompts
|
||||
|
||||
|
||||
class Agent(BaseModel):
|
||||
|
||||
@@ -11,11 +11,11 @@ from pydantic import (
|
||||
)
|
||||
from pydantic_core import PydanticCustomError
|
||||
|
||||
from .agent import Agent
|
||||
from .agents import CacheHandler
|
||||
from .process import Process
|
||||
from .task import Task
|
||||
from .tools.agent_tools import AgentTools
|
||||
from crewai.agent import Agent
|
||||
from crewai.process import Process
|
||||
from crewai.task import Task
|
||||
from crewai.tools.agent_tools import AgentTools
|
||||
from crewai.agents import CacheHandler
|
||||
|
||||
|
||||
class Crew(BaseModel):
|
||||
|
||||
@@ -2,7 +2,7 @@ from typing import Any, List, Optional
|
||||
|
||||
from pydantic import BaseModel, Field, model_validator
|
||||
|
||||
from .agent import Agent
|
||||
from crewai.agent import Agent
|
||||
|
||||
|
||||
class Task(BaseModel):
|
||||
|
||||
@@ -4,7 +4,7 @@ from typing import List
|
||||
from langchain.tools import Tool
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from ..agent import Agent
|
||||
from crewai.agent import Agent
|
||||
|
||||
|
||||
class AgentTools(BaseModel):
|
||||
|
||||
@@ -25,6 +25,7 @@ pre-commit = "^3.6.0"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
known_first_party = ["crewai"]
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
pytest = "^7.4"
|
||||
|
||||
Reference in New Issue
Block a user