style: streamline code formatting in operator.py for improved readability

This commit is contained in:
Praveenk8051
2025-02-16 16:13:21 +01:00
parent a001a33f68
commit 121d56495e
+2 -3
View File
@@ -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: