"""实验相关 Pydantic 模型""" import uuid from typing import List from pydantic import BaseModel class ExperimentCreate(BaseModel): """创建实验请求""" title: str hypothesis: str target_metric: str linked_context_nodes: List[uuid.UUID] = [] class ExperimentUpdate(BaseModel): """更新实验请求""" current_score: float