DeepTeam is a framework to red team LLMs and AI agents.
lint
A-Vamshidbfc4f041524
diff --git a/deepteam/cli/model_callback.py b/deepteam/cli/model_callback.pyindex 91a139a1..ef187a7c 100644--- a/deepteam/cli/model_callback.py+++ b/deepteam/cli/model_callback.py@@ -103,10 +103,10 @@ def load_model(spec: Union[str, Dict[str, Any], None]) -> DeepEvalBaseLLM:if provider == "anthropic":return AnthropicModel(model=model_name, temperature=temperature)-+# if provider == "portkey":# return PortkeyModel(- # model=model_name,+ # model=model_name,# api_key=spec.get("api_key"),# base_url=spec.get("base_url"),# provider=spec.get("provider_name"),diff --git a/tests/test_core/test_model_callback.py b/tests/test_core/test_model_callback.pyindex e4d14d83..d810d29b 100644--- a/tests/test_core/test_model_callback.py+++ b/tests/test_core/test_model_callback.py@@ -40,7 +40,7 @@ class TestModelCallbackVariations:model_callback=OPENAI_MODEL,attacks=[Roleplay()],vulnerabilities=[Bias(types=["gender"])],- async_mode=True+ async_mode=True,)assert risk_assessment is not None@@ -50,6 +50,6 @@ class TestModelCallbackVariations:model_callback=OPENAI_MODEL,attacks=[Roleplay()],vulnerabilities=[Bias(types=["gender"])],- async_mode=False+ async_mode=False,)assert risk_assessment is not None