Skip to content

Commit da63270

Browse files
committed
fix(pc):
1 parent bf5f7a7 commit da63270

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

agentic_security/agents/operator_crew.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ async def run_crew():
246246
os.environ["OPENAI_API_KEY"] = os.environ.get(
247247
"DEEPSEEK_API_KEY", ""
248248
) # CrewAI uses OPENAI_API_KEY
249-
os.environ["OPENAI_MODEL_NAME"] = (
250-
"deepseek:chat" # Specify DeepSeek model (adjust if needed)
251-
)
249+
os.environ[
250+
"OPENAI_MODEL_NAME"
251+
] = "deepseek:chat" # Specify DeepSeek model (adjust if needed)
252252

253253
if __name__ == "__main__":
254254
asyncio.run(run_crew())

agentic_security/integrations/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
class IntegrationProto(Protocol):
66
def __init__(
77
self, prompt_groups: list, tools_inbox: asyncio.Queue, opts: dict = {}
8-
): ...
8+
):
9+
...
910

10-
async def apply(self) -> list: ...
11+
async def apply(self) -> list:
12+
...

agentic_security/primitives/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from agentic_security.primitives.models import (
2-
CompletionRequest, # noqa
1+
# noqa
2+
from agentic_security.primitives.models import CompletionRequest # noqa
3+
from agentic_security.primitives.models import ( # noqa
34
FileProbeResponse,
45
LLMInfo,
56
Message,

agentic_security/probe_data/modules/rl_model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ def update_rewards(
121121
current_prompt: str,
122122
reward: float,
123123
passed_guard: bool,
124-
) -> None: ...
124+
) -> None:
125+
...
125126

126127

127128
class QLearningPromptSelector(PromptSelectionInterface):

0 commit comments

Comments
 (0)