MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / ComponentMetadata

Class ComponentMetadata

backend/models.py:55–60  ·  view source on GitHub ↗

Sub-component within a workflow (e.g., error handling, tool selection).

Source from the content-addressed store, hash-verified

53 temperature: Optional[float] = None
54
55class 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
62class WorkflowMetadata(BaseModel):
63 id: str # "workflow_1", "workflow_2", etc.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected