|
5 | 5 |
|
6 | 6 | from pydantic import BaseModel, ConfigDict, Discriminator, Field, Tag, field_validator |
7 | 7 |
|
8 | | -from uipath._cli._evals._models._evaluation_set import LegacyEvaluationSet |
9 | | -from uipath._cli._evals._models._evaluator import Evaluator |
10 | 8 | from uipath.models import Connection |
11 | 9 | from uipath.models.guardrails import AgentEscalationRecipient, Guardrail |
12 | 10 |
|
@@ -432,26 +430,8 @@ def custom_discriminator(data: Any) -> str: |
432 | 430 | class AgentMetadata(BaseModel): |
433 | 431 | """Metadata for agent.""" |
434 | 432 |
|
435 | | - id: str = Field(..., description="Agent id or project name") |
436 | | - name: str = Field(..., description="Agent name or project name") |
437 | | - input_schema: Dict[str, Any] = Field( |
438 | | - ..., alias="inputSchema", description="JSON schema for input arguments" |
439 | | - ) |
440 | | - output_schema: Dict[str, Any] = Field( |
441 | | - ..., alias="outputSchema", description="JSON schema for output arguments" |
442 | | - ) |
443 | | - version: str = Field("1.0.0", description="Agent version") |
444 | | - resources: List[AgentResourceConfig] = Field( |
445 | | - ..., description="List of tools, context, and escalation resources" |
446 | | - ) |
447 | | - evaluation_sets: Optional[List[LegacyEvaluationSet]] = Field( |
448 | | - None, |
449 | | - alias="evaluationSets", |
450 | | - description="List of agent evaluation sets", |
451 | | - ) |
452 | | - evaluators: Optional[List[Evaluator]] = Field( |
453 | | - None, description="List of agent evaluators" |
454 | | - ) |
| 433 | + is_conversational: bool = Field(alias="isConversational") |
| 434 | + storage_version: str = Field(alias="storageVersion") |
455 | 435 |
|
456 | 436 | model_config = ConfigDict( |
457 | 437 | validate_by_name=True, validate_by_alias=True, extra="allow" |
|
0 commit comments