16 lines
403 B
Python
16 lines
403 B
Python
"""User-visible clarification records (pre-run and in-run)."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class ClarificationRecord(BaseModel):
|
|
model_config = ConfigDict(extra="forbid")
|
|
|
|
id: str
|
|
questions: list[str] = Field(default_factory=list)
|
|
impact: list[str] = Field(default_factory=list)
|
|
resolved: bool = False
|
|
created_at: str
|