fix(ai): 保留 PixelRAG VLM model error receipt
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-09 23:43:07 +08:00
parent d16804faf3
commit 2d54ef5f9f
5 changed files with 59 additions and 4 deletions

View File

@@ -324,6 +324,13 @@ def _execute_item(
"model_error": str(response.error or "")[:RAW_EXCERPT_LIMIT],
"next_machine_action": "repair_ollama_vlm_runtime_or_model_route",
})
if write_receipt:
base["receipt_path"] = _write_replay_receipt(
output_root=output_root,
item=item,
worker_item=base,
)
base["artifact_write_performed"] = True
return base
try: