14 lines
305 B
Python
14 lines
305 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class SessionToFlowRequest(BaseModel):
|
|
session_id: str
|
|
|
|
|
|
class SessionToFlowResponse(BaseModel):
|
|
name: str
|
|
description: str
|
|
tree_type: str # Always "procedural"
|
|
tags: list[str]
|
|
tree_structure: dict # Procedural steps with optional fallback_steps
|