19075592e5
Deploy Slides / build-and-deploy (push) Successful in 1m16s
- Reduce Item count per slide: pipeline 4→3, solution 4→2, highlights 6→4 - Remove tech-stack architecture layering Item (moved to tech-stack grid) - Simplify eino-graph: shorter Go code, 3 Items→2 - Simplify prompt-agent: smaller mermaid, shorter Item text - Simplify async-task: merge 3 Items→2, remove footer - Simplify data-model: merge 4 grid items→2 - Simplify architecture: reduce ASCII diagram from 38 to 20 lines - Simplify dedup-ws: remove JSON code block, shorter Items - Simplify deployment: smaller mermaid, shorter Items - Simplify problem: shorter Item text, remove bullet lists - Simplify style-system: fix typo, shorter Item text
494 B
494 B
请求去重 + 实时推送
两项关键的工程优化
`hash(prompt + assetType + params)` 生成唯一键,`sync.Map` 内存缓存。相同参数并发请求自动合并,返回已有 `taskId`,节省 API 调用成本。 建立 `ws://host/api/v1/tasks/:taskId/ws` 连接,管线各阶段推送进度、质检重试信息、最终结果。同时兼容 HTTP 轮询方案。