feat(agent): 立账凭证检核

(cherry picked from commit f9e2fb5efc1ec7bf4f6e52e08dd3591b4e77edd9)
This commit is contained in:
sophie committed 2026-08-06 10:05:46 +08:00
1 parent 9bcbf9d211
commit f615e56bb9
70 files changed
+4968 -108

No files matched your search

@@ -81,7 +81,10 @@ def _run_platform_job_in_process(task: ScheduleTask, run: ScheduleRun) -> Schedu
from app.services.schedule.job_registry import run_platform_job
key = normalize_platform_api_path(task.platform_api_path)
# [STEP 1] 合并而非覆盖:保留会话触发写入的 run_options 等字段
existing = run.api_request_json if isinstance(run.api_request_json, dict) else {}
payload = {
**existing,
"run_no": run.run_no,
"schedule_task_id": task.id,
"schedule_name": task.name,