From 121d56495e9a76a6ff288c90d60c5c4eae82c19f Mon Sep 17 00:00:00 2001 From: Praveenk8051 Date: Sun, 16 Feb 2025 16:13:21 +0100 Subject: [PATCH] style: streamline code formatting in operator.py for improved readability --- agentic_security/probe_actor/operator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/agentic_security/probe_actor/operator.py b/agentic_security/probe_actor/operator.py index 265796a..c270dd1 100644 --- a/agentic_security/probe_actor/operator.py +++ b/agentic_security/probe_actor/operator.py @@ -11,6 +11,7 @@ from pydantic_ai import Agent, RunContext logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) + class AgentSpecification(BaseModel): name: str | None = Field(None, description="Name of the LLM/agent") version: str | None = Field(None, description="Version of the LLM/agent") @@ -19,9 +20,7 @@ class AgentSpecification(BaseModel): configuration: dict[str, Any] | None = Field( None, description="Configuration settings" ) - endpoint: str | None = Field( - None, description="Endpoint URL of the deployed agent" - ) + endpoint: str | None = Field(None, description="Endpoint URL of the deployed agent") class OperatorToolBox: