机器人回复补调用编码;集拼报价条带字段写到下一行,业务员落中文名。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-10-06 13:41:12 +08:00
co-authored by Cursor
parent 58df358577
commit 177dd0b25f
22 changed files with 1934 additions and 210 deletions
@@ -16,8 +16,6 @@ from agent.redis_coord.runtime import get_redis_runtime
logger = logging.getLogger(__name__)
_TTL_SEC = 24 * 3600
class BookmarkStore(Protocol):
"""单测可注入;生产走 Redis。"""
@@ -72,10 +70,10 @@ def save_flow_bookmark(
return
try:
client = get_redis_runtime().client
# 核对卡不设过期。确定前一直留着,离开核对或建单后由 delete 清掉。
client.raw.set(
client.key(FLOW_BOOKMARK, name, sid),
json.dumps(payload, ensure_ascii=False),
ex=_TTL_SEC,
)
except Exception:
logger.exception("写询价书签失败 kind=%s sender=%s", name, sid)