Commit Graph
5 Commits
Author SHA1 Message Date
lhl 25fc472d9b feat(inference): chat_structured 接入 jsonschema 真校验(T1 架构审查整改)
- pyproject.toml 新增 jsonschema>=4.23 依赖
- engine.py: json.loads 后 jsonschema.validate,校验失败按解析失败重试(带错误信息)
- 新增 3 用例:违规重试成功/耗尽 parse_error 含详情/合法一次通过
- 全量 163 passed / 100.00% 覆盖(936 stmts/238 br),fail_under=99 达标
2026-08-12 09:32:02 +08:00
lhl c2fad77698 feat: 推理引擎数据模型与异常层(types/exceptions)及 httpx/jinja2 依赖 2026-08-09 05:53:55 +08:00
lhl 2fbff07d3f test: 覆盖率提升至 100%(fail_under 90→99,13 个防御/边界用例) 2026-08-09 04:49:29 +08:00
lhl 737911cf25 test: 补齐覆盖率工具(pytest-cov,fail_under=90,基线 96.67%) 2026-08-09 04:32:11 +08:00
lhl e865a78701 chore: 项目骨架与 pyproject 打包(src 布局 + pytest 就绪) 2026-08-08 15:28:52 +08:00