Skip to content

Commit

Permalink
Merge branch 'main' into flow-visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
bhancockio committed Oct 1, 2024
2 parents 1564091 + f15d5cb commit c6cbd39
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 34 deletions.
59 changes: 30 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crewai"
version = "0.65.2"
version = "0.66.0"
description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks."
authors = ["Joao Moura <[email protected]>"]
readme = "README.md"
Expand Down
1 change: 0 additions & 1 deletion src/crewai/cli/create_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def process_file(src_file, dst_file):
except Exception as e:
click.secho(f"Error processing file {src_file}: {e}", fg="red")
return
content = file.read()

content = content.replace("{{name}}", name)
content = content.replace("{{flow_name}}", class_name)
Expand Down
2 changes: 1 addition & 1 deletion src/crewai/cli/templates/crew/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = ">=3.10,<=3.13"
crewai = { extras = ["tools"], version = ">=0.65.2,<1.0.0" }
crewai = { extras = ["tools"], version = ">=0.66.0,<1.0.0" }


[tool.poetry.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/crewai/cli/templates/pipeline/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = ">=3.10,<=3.13"
crewai = { extras = ["tools"], version = ">=0.65.2,<1.0.0" }
crewai = { extras = ["tools"], version = ">=0.66.0,<1.0.0" }
asyncio = "*"

[tool.poetry.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/crewai/cli/templates/pipeline_router/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = ">=3.10,<=3.13"
crewai = { extras = ["tools"], version = ">=0.65.2,<1.0.0" }
crewai = { extras = ["tools"], version = ">=0.66.0,<1.0.0" }


[tool.poetry.scripts]
Expand Down
3 changes: 3 additions & 0 deletions src/crewai/flow/flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# flow.py

# flow.py

import asyncio
import inspect
from typing import Any, Callable, Dict, Generic, List, Set, Type, TypeVar, Union
Expand Down Expand Up @@ -61,6 +63,7 @@ def decorator(func):
return decorator


def router(method, paths=None):
def router(method, paths=None):
def decorator(func):
func.__is_router__ = True
Expand Down

0 comments on commit c6cbd39

Please sign in to comment.