Log in to Tool Repository on crewai login (#1650)

This commit adds an extra step to `crewai login` to ensure users also
log in to Tool Repository, that is, exchanging their Auth0 tokens for a
Tool Repository username and password to be used by UV downloads and API
tool uploads.
This commit is contained in:
Vini Brasil
2024-11-25 15:57:47 -03:00
committed by GitHub
parent 8cf1cd5a62
commit 63ecb7395d
9 changed files with 44 additions and 22 deletions

View File

@@ -260,6 +260,6 @@ class TestDeployCommand(unittest.TestCase):
self.assertEqual(project_name, "test_project")
def test_get_crewai_version(self):
from crewai.cli.utils import get_crewai_version
from crewai.cli.version import get_crewai_version
assert isinstance(get_crewai_version(), str)