Add tool.crewai.type pyproject attribute in templates (#1789)

This commit is contained in:
Vini Brasil
2024-12-20 10:36:18 -03:00
committed by GitHub
parent 627b9f1abb
commit da73865f25
3 changed files with 8 additions and 0 deletions

View File

@@ -18,3 +18,6 @@ test = "{{folder_name}}.main:test"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.crewai]
type = "crew"

View File

@@ -15,3 +15,6 @@ plot = "{{folder_name}}.main:plot"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.crewai]
type = "flow"

View File

@@ -8,3 +8,5 @@ dependencies = [
"crewai[tools]>=0.86.0"
]
[tool.crewai]
type = "tool"