Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
feat: repoint template commands to crewAIInc-fde org (#6394)
Daniel Barretoba855bae2b14
diff --git a/lib/cli/src/crewai_cli/remote_template/main.py b/lib/cli/src/crewai_cli/remote_template/main.pyindex a7db81191..c6999da83 100644--- a/lib/cli/src/crewai_cli/remote_template/main.py+++ b/lib/cli/src/crewai_cli/remote_template/main.py@@ -17,7 +17,7 @@ from crewai_cli.command import BaseCommandlogger = logging.getLogger(__name__)console = Console()-GITHUB_ORG = "crewAIInc"+GITHUB_ORG = "crewAIInc-fde"TEMPLATE_PREFIX = "template_"GITHUB_API_BASE = "https://api.github.com"@@ -218,7 +218,7 @@ class TemplateCommand(BaseCommand):def _extract_zip(self, zip_bytes: bytes, dest: str) -> None:"""Extract a GitHub zipball into dest, stripping the top-level directory."""with zipfile.ZipFile(io.BytesIO(zip_bytes)) as zf:- # GitHub zipballs have a single top-level dir like 'crewAIInc-template_xxx-<sha>/'+ # GitHub zipballs have a single top-level dir like 'crewAIInc-fde-template_xxx-<sha>/'members = zf.namelist()if not members:click.secho("Downloaded archive is empty.", fg="red")diff --git a/lib/crewai/tests/cli/remote_template/test_main.py b/lib/crewai/tests/cli/remote_template/test_main.pyindex 7b9b45d8f..a1d726d39 100644--- a/lib/crewai/tests/cli/remote_template/test_main.py+++ b/lib/crewai/tests/cli/remote_template/test_main.py@@ -24,7 +24,7 @@ SAMPLE_REPOS = []-def _make_zipball(files: dict[str, str], top_dir: str = "crewAIInc-template_test-abc123") -> bytes:+def _make_zipball(files: dict[str, str], top_dir: str = "crewAIInc-fde-template_test-abc123") -> bytes:"""Create an in-memory zipball mimicking GitHub's format."""buf = io.BytesIO()with zipfile.ZipFile(buf, "w") as zf: