mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
WIP
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
import warnings
|
||||||
|
|
||||||
|
warnings.filterwarnings(
|
||||||
|
"ignore",
|
||||||
|
message="Valid config keys have changed in V2*",
|
||||||
|
category=UserWarning,
|
||||||
|
)
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from importlib.metadata import version as get_version
|
from importlib.metadata import version as get_version
|
||||||
from typing import Optional, Tuple
|
from typing import Optional, Tuple
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ def run_crew() -> None:
|
|||||||
"""
|
"""
|
||||||
Run the crew by running a command in the UV environment.
|
Run the crew by running a command in the UV environment.
|
||||||
"""
|
"""
|
||||||
|
click.echo("Running crew hello...")
|
||||||
command = ["uv", "run", "run_crew"]
|
command = ["uv", "run", "run_crew"]
|
||||||
crewai_version = get_crewai_version()
|
crewai_version = get_crewai_version()
|
||||||
min_required_version = "0.71.0"
|
min_required_version = "0.71.0"
|
||||||
|
|||||||
@@ -57,9 +57,6 @@ except ImportError:
|
|||||||
agentops = None
|
agentops = None
|
||||||
|
|
||||||
|
|
||||||
warnings.filterwarnings("ignore", category=SyntaxWarning, module="pysbd")
|
|
||||||
|
|
||||||
|
|
||||||
class Crew(BaseModel):
|
class Crew(BaseModel):
|
||||||
"""
|
"""
|
||||||
Represents a group of agents, defining how they should collaborate and the tasks they should perform.
|
Represents a group of agents, defining how they should collaborate and the tasks they should perform.
|
||||||
|
|||||||
Reference in New Issue
Block a user