Commit Graph
2 Commits
Author SHA1 Message Date
xsl da41e9ab0d chore(worker): register report_tasks in celery include(T15 合并补齐)
T15 按纪律禁改 celery_app.py,在偏差说明中移交:真 worker 进程需加载
apps.worker.report_tasks,否则 meida.report.generate 只能靠 send_task
按名投递而无人消费。
2026-08-14 22:19:55 +08:00
xsl 746b66da01 feat(api): vertical slice POST /v1/agent/chat and the Celery ping path
One request exercises every layer: JWT auth, quota reservation, a versioned
prompt through the LLM gateway, a cost row, quota commit or refund, and the
unified envelope. The trivial ping task proves the queue routing and the
tk_task transitions before any real long-running task is written.

Routes are mounted at the /api/v1 base path of 架构文档 §9.1; /v1/* is
rewritten to it at the ASGI layer so both spellings work from one route table.
2026-08-14 00:26:39 +08:00