mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
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.
7 lines
168 B
Python
7 lines
168 B
Python
import importlib.metadata
|
|
|
|
def get_crewai_version() -> str:
|
|
"""Get the version number of CrewAI running the CLI"""
|
|
return importlib.metadata.version("crewai")
|
|
|