mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-24 06:09:55 +02:00
style: streamline code formatting in operator.py for improved readability
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user