落地空运单聊询价字段与线路选择。

必填核对后再建单;多条线路走 H5 点选;费用只展示该线路 TMS 回包,不套用整单空运费。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 15:02:32 +08:00
co-authored by Cursor
parent 8afe909230
commit cfbce2fd69
53 changed files with 3470 additions and 372 deletions
@@ -60,7 +60,8 @@ def _attach_bot_client(engine, message: InboundMessage) -> None:
每次入站换一次 BOT 出站客户端。
测试注入的 FakeBotGroup 不动。
有 response_url 走当场流式回;没有(存档附件)走桥主动发言,马上在群里说。
有 response_url 也不走 stream;空运群正文一律走桥。
把这次入站的 aibot_req_id 带给桥,群里才能引用原 @。
不能复用上一次 @ 的过期 url。
"""
from agent.channel.aibot.reply import AibotReplyClient
@@ -69,7 +70,8 @@ def _attach_bot_client(engine, message: InboundMessage) -> None:
if existing is not None and not isinstance(existing, AibotReplyClient):
return
engine._group_client = AibotReplyClient(
str((message.raw or {}).get("response_url") or "")
str((message.raw or {}).get("response_url") or ""),
callback_req_id=str((message.raw or {}).get("aibot_req_id") or ""),
)