mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:09:19 +08:00
fix: 发布助手去掉读表单空转并修正工具状态卡住
This commit is contained in:
@@ -86,13 +86,14 @@ class ChatService:
|
||||
memory_count=memory_count,
|
||||
memory_just_saved=just_saved,
|
||||
scene=scene,
|
||||
form_snapshot=form_snapshot,
|
||||
)
|
||||
|
||||
client_tools = None
|
||||
if scene == "ecom_goods_publish":
|
||||
from agent.tools.publish_ui import build_publish_client_tools
|
||||
|
||||
client_tools = build_publish_client_tools(form_snapshot=form_snapshot)
|
||||
client_tools = build_publish_client_tools()
|
||||
|
||||
tools = await load_tools_for_turn(
|
||||
self._settings,
|
||||
|
||||
Reference in New Issue
Block a user