DeepTeam is a framework to red team LLMs and AI agents.
updated deepteam cli
A-Vamshi2fc71646f2ae
diff --git a/deepteam/_version.py b/deepteam/_version.pynew file mode 100644index 00000000..ecceb641--- /dev/null+++ b/deepteam/_version.py@@ -0,0 +1 @@+__version__: str = "0.2.1"diff --git a/deepteam/cli/main.py b/deepteam/cli/main.pyindex 4e17af27..7346c9b9 100644--- a/deepteam/cli/main.py+++ b/deepteam/cli/main.py@@ -193,8 +193,35 @@ def _load_config(path: str):with open(path, "r") as f:return yaml.safe_load(f)++def _show_version(value: bool):+ from deepteam._version import __version__+ if value:+ typer.echo(f"deepteam version {__version__}")+ raise typer.Exit()++def main(+ version: bool = typer.Option(+ None,+ "--version",+ help="Show the version and exit.",+ is_flag=True,+ callback=lambda v: _show_version(v),+ is_eager=True,+ )+):+ """+ DeepTeam CLI for red teaming LLMs.+ """+ pass+[email protected]("login")+def login():+ typer.echo(f"This feature is currently in beta. For more details, please contact [email protected]")+ raise typer.Exit()[email protected]("run")def run(config_file: str,max_concurrent: int = typer.Option(