feat: InferenceEngine chat/chat_structured 全流程 + 文档补丁(补丁1/2/3)

This commit is contained in:
lhl
2026-08-09 08:26:37 +08:00
parent add7b1503c
commit 8bc5e5e571
8 changed files with 495 additions and 13 deletions
+2
View File
@@ -111,6 +111,8 @@ class StructuredResult:
prompt_version: str
usage: TokenUsage
duration_ms: int
status: Literal["ok", "fallback", "parse_error", "failed"] # 补丁 1:诊断状态
error: str | None = None # 失败原因(parse_error/failed 时附带)
```
### 2.3 模型管理