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
..
2026-08-08 15:33:36 +08:00
2026-08-08 15:28:52 +08:00
2026-08-10 09:21:55 +08:00
2026-08-08 16:50:24 +08:00
2026-08-12 09:50:37 +08:00
2026-08-09 17:11:38 +08:00
2026-08-09 04:49:29 +08:00
2026-08-08 15:30:04 +08:00
2026-08-09 04:49:29 +08:00
2026-08-08 16:50:24 +08:00
2026-08-09 04:49:29 +08:00
2026-08-09 04:18:39 +08:00
2026-08-12 09:50:37 +08:00
2026-08-12 09:50:37 +08:00
2026-08-09 13:38:59 +08:00
2026-08-09 08:03:17 +08:00
2026-08-09 05:58:16 +08:00
2026-08-09 13:44:19 +08:00
2026-08-09 03:59:24 +08:00
2026-08-10 23:39:53 +08:00
2026-08-10 10:14:15 +08:00
2026-08-08 16:59:17 +08:00
2026-08-09 04:49:29 +08:00
2026-08-08 15:28:52 +08:00
2026-08-10 23:39:53 +08:00
2026-08-12 09:39:34 +08:00
2026-08-09 04:49:29 +08:00
2026-08-10 09:38:37 +08:00