feat:新增投顾agent和nl2sqlagent

This commit is contained in:
2026-09-13 16:19:24 +08:00
parent c80c6acac0
commit 163192bf55
122 changed files with 7488 additions and 362 deletions
+6 -5
View File
@@ -11,9 +11,9 @@ from __future__ import annotations
# ---------------------------------------------------------------------------
# §1 客户-投顾关系状态(customer_relation.status)
# ---------------------------------------------------------------------------
CUSTOMER_REL_STATUS_UNSIGNED = "unsigned" # 未签约,仅分配,未开通投顾正式服务
CUSTOMER_REL_STATUS_SIGNED = "signed" # 已签约,可下发推荐/调仓方案给客户
CUSTOMER_REL_STATUS_CLOSED = "closed" # 服务已终止
CUSTOMER_REL_STATUS_UNSIGNED = "已分配" # 未签约,仅分配,未开通投顾正式服务
CUSTOMER_REL_STATUS_SIGNED = "已签约" # 已签约,可下发推荐/调仓方案给客户
CUSTOMER_REL_STATUS_CLOSED = "已结束" # 服务已终止
# ---------------------------------------------------------------------------
# §2 草稿状态(advisor_draft.status,Agent 侧;不可物理删除,仅状态流转)
@@ -92,8 +92,9 @@ EVENT_PROFILE_UPDATE = "event:profile_update"
ADVISOR_EVENTS = (EVENT_REBALANCE_DRAFT_CREATED, EVENT_PROFILE_UPDATE)
# 事件消费状态(event_log.status)
EVENT_STATUS_PENDING = "待消费"
EVENT_STATUS_CONSUMED = "已消费"
EVENT_STATUS_PENDING = "pending"
EVENT_STATUS_CONSUMED = "consumed"
EVENT_STATUS_FAILED = "failed"
# ---------------------------------------------------------------------------
# §10 固定文本模板