Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions agentic_security/agents/operator_crew.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ async def run_crew():
os.environ["OPENAI_API_KEY"] = os.environ.get(
"DEEPSEEK_API_KEY", ""
) # CrewAI uses OPENAI_API_KEY
os.environ[
"OPENAI_MODEL_NAME"
] = "deepseek:chat" # Specify DeepSeek model (adjust if needed)
os.environ["OPENAI_MODEL_NAME"] = (
"deepseek:chat" # Specify DeepSeek model (adjust if needed)
)

if __name__ == "__main__":
asyncio.run(run_crew())
6 changes: 2 additions & 4 deletions agentic_security/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
class IntegrationProto(Protocol):
def __init__(
self, prompt_groups: list, tools_inbox: asyncio.Queue, opts: dict = {}
):
...
): ...

async def apply(self) -> list:
...
async def apply(self) -> list: ...
4 changes: 2 additions & 2 deletions agentic_security/primitives/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from agentic_security.primitives.models import ( # noqa
CompletionRequest,
from agentic_security.primitives.models import (
CompletionRequest, # noqa
FileProbeResponse,
LLMInfo,
Message,
Expand Down
3 changes: 1 addition & 2 deletions agentic_security/probe_data/modules/rl_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ def update_rewards(
current_prompt: str,
reward: float,
passed_guard: bool,
) -> None:
...
) -> None: ...


class QLearningPromptSelector(PromptSelectionInterface):
Expand Down
Loading