mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-07-06 11:47:48 +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)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class AgentSpecification(BaseModel):
|
class AgentSpecification(BaseModel):
|
||||||
name: str | None = Field(None, description="Name of the LLM/agent")
|
name: str | None = Field(None, description="Name of the LLM/agent")
|
||||||
version: str | None = Field(None, description="Version 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(
|
configuration: dict[str, Any] | None = Field(
|
||||||
None, description="Configuration settings"
|
None, description="Configuration settings"
|
||||||
)
|
)
|
||||||
endpoint: str | None = Field(
|
endpoint: str | None = Field(None, description="Endpoint URL of the deployed agent")
|
||||||
None, description="Endpoint URL of the deployed agent"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class OperatorToolBox:
|
class OperatorToolBox:
|
||||||
|
|||||||
Reference in New Issue
Block a user