Commit Graph

20 Commits

Author SHA1 Message Date
006b035de4 newtw 2026-03-06 12:44:57 +08:00
e1ce17f2aa chore: harden runtime checks and split websocket inbound/outbound flows 2026-03-02 18:17:09 +08:00
9d0276be41 feat: enforce full AI outbound generation and reduce template replies 2026-03-02 11:09:26 +08:00
00c80c3bec feat: ai-first intent detection with keyword fallback 2026-03-01 17:09:05 +08:00
3c825547cf refactor: add rule engine, risk service, quote state machine, and replay tests 2026-03-01 14:30:14 +08:00
dc2565b8f3 fix: reply with standalone ping for meaningless short customer texts 2026-03-01 14:09:34 +08:00
a001d09e6e fix: first-image ack should pause instead of pushing unified quote 2026-03-01 13:21:07 +08:00
1c1b870d2b feat: enforce activity logs and tighten sizing/map reply policies 2026-03-01 13:01:10 +08:00
0f769607c4 fix: prevent None reply in collection flow and harden response fallback 2026-03-01 12:37:51 +08:00
e31bb80063 feat: role-based skills, AI-first replies, and deferred batch quote routing 2026-03-01 11:03:56 +08:00
3c77c618e7 feat: add richer clarification replies for ambiguous customer intent 2026-02-28 23:40:17 +08:00
ca7e195d8f feat: expand colloquial reply sets and support cross-image quote intent 2026-02-28 23:23:51 +08:00
5a73aa34d2 feat: adaptive debounce and intent-driven quote trigger tuning 2026-02-28 22:54:00 +08:00
08342c37ec fix: use single-image wording for 1-image quote flow 2026-02-28 22:21:37 +08:00
d497e8d42a feat: add online evolution loop and 5% gray risk-policy rollout 2026-02-28 22:03:30 +08:00
dc04db6538 test: add multi-worker ownership routing guard 2026-02-28 19:13:23 +08:00
46143be86c feat: upgrade客服多店铺分流、批量报价与稳定性防护 2026-02-28 18:52:31 +08:00
c39840fe15 feat: 添加 AI Agent 对话测试工具 + 代码优化
主要变更:

- 新增 tests/test_ai_chat.py: AI Agent 对话测试工具

- 优化 core/pydantic_ai_agent.py 和 db/chat_log_db.py

- 清理归档文件,更新文档

Made-with: Cursor
2026-02-28 16:19:35 +08:00
a6c42d505a feat: 完整功能部署 v1.0
新增功能:
- 天网协作系统 (HTTP API 端口 6060)
- 三种工作流 (查找图片/处理图片/转人工派单)
- 图片任务数据库 (支持客户后续增加需求)
- 图绘派单系统集成 (API: 8005)
- 文字检测与加价 (60-80 元高价值订单)
- 风险评估与接单判断
- 作图失败自动转人工

新增文档:
- 项目功能汇总.md
- 三种工作流功能说明.md
- 文字加价功能说明.md
- 风险评估功能说明.md
- 图片任务数据库功能说明.md
- 图绘派单系统集成说明.md
- 作图失败转接人工说明.md
- DEPLOYMENT.md
- TIANWANG_INTEGRATION.md

核心修改:
- core/pydantic_ai_agent.py
- core/workflow.py
- core/websocket_client.py
- image/image_analyzer.py
- services/service_tuhui_dispatch.py
- db/image_tasks_db.py

版本:v1.0
日期:2026-02-28
2026-02-28 11:20:40 +08:00
5aedf1665d init 2026-02-27 16:03:04 +08:00