Searching...
使用 JSON Schema/Pydantic 约束模型输出,处理拒答、解析失败和 schema 演进。
掌握 Pydantic schema、字段校验、响应裁剪和错误格式,避免 AI 接口依赖脆弱的字典约定。