feat: reset all associated session after bot and pipeline modified (#1517)

This commit is contained in:
Junyan Qin (Chin)
2025-06-09 21:50:08 +08:00
committed by GitHub
parent 62f0a938a8
commit 3e707b4b6e
5 changed files with 23 additions and 1 deletions

View File

@@ -137,6 +137,12 @@ class Conversation(pydantic.BaseModel):
use_funcs: typing.Optional[list[tools_entities.LLMFunction]]
pipeline_uuid: str
"""流水线UUID。"""
bot_uuid: str
"""机器人UUID。"""
uuid: typing.Optional[str] = None
"""该对话的 uuid在创建时不会自动生成。而是当使用 Dify API 等由外部管理对话信息的服务时,用于绑定外部的会话。具体如何使用,取决于 Runner。"""