Sub-component within a workflow (e.g., error handling, tool selection).
| 53 | temperature: Optional[float] = None |
| 54 | |
| 55 | class ComponentMetadata(BaseModel): |
| 56 | """Sub-component within a workflow (e.g., error handling, tool selection).""" |
| 57 | id: str # "comp_1", "comp_2", etc. |
| 58 | name: str # Descriptive name (e.g., "Error Handling", "Tool Selection") |
| 59 | description: Optional[str] = None |
| 60 | nodeIds: List[str] # Node IDs contained in this component |
| 61 | |
| 62 | class WorkflowMetadata(BaseModel): |
| 63 | id: str # "workflow_1", "workflow_2", etc. |
nothing calls this directly
no outgoing calls
no test coverage detected