lhl
|
8239a37a99
|
feat(inference): LLM 客户端全异步化(T8 架构审查整改)
- Issue9: client.py 由同步 httpx.Client 全异步化
- LLMClient Protocol / HttpLLMClient.chat → async;httpx.AsyncClient + asyncio.sleep 退避
- __enter__/__exit__ → __aenter__/__aexit__(async with 生命周期闭环)
- engine.py chat/chat_structured/_call 全部 async + await
- FakeLLMClient.chat → async;测试用 anyio pytest 插件转换(engine 32 + client 10 用例)
- 同步 inference-engine spec 与 milestone3 review 的 httpx 描述
- 全量 182 passed / 100.00%(987 stmts/252 br)
|
2026-08-12 09:50:37 +08:00 |
|
lhl
|
af3e756ba0
|
docs: Phase3 spec 工程审阅修正(做成说明书 ref→write、列表双通道、显式角色参数)
|
2026-08-10 00:45:35 +08:00 |
|
lhl
|
17cf385a6f
|
docs: Phase3 Word 解析优先设计(模板/规则/聚合三模块)
|
2026-08-09 23:05:28 +08:00 |
|
lhl
|
f6172903b8
|
docs: 修正错误码一致性 spec/plan 计数笔误(LLM 错误码实为 4 条非 5)
|
2026-08-09 16:56:49 +08:00 |
|
lhl
|
49f6ca80d8
|
docs: 错误码一致性测试设计(api §7 ↔ 异常树机器验证)
|
2026-08-09 15:19:55 +08:00 |
|
lhl
|
69f04ecda2
|
docs: LLM 错误码对齐设计(error_code 字段 + api §7 对齐)
|
2026-08-09 10:00:24 +08:00 |
|
lhl
|
8ec63d1c48
|
docs: 里程碑3.1 InferenceEngine 设计规格与实施计划
|
2026-08-09 08:36:47 +08:00 |
|
lhl
|
d01c7d4901
|
docs: MIXED 完整段落解析设计(遗留项#1)
|
2026-08-09 03:45:08 +08:00 |
|
lhl
|
56da6c9917
|
docs: Phase1 里程碑1 实现设计(骨架+数据模型+config 加载)
|
2026-08-08 15:16:19 +08:00 |
|