feat: 拼多多发布页接入场景智能体与表单改写工具

This commit is contained in:
2026-09-20 23:18:28 +08:00
parent d28b4d45c3
commit a140cff81a
31 changed files with 1660 additions and 44 deletions
+18 -1
View File
@@ -16,7 +16,24 @@ class SessionRepository(ABC):
async def get(self, company_id: int, user_id: str, thread_id: str) -> Session | None: ...
@abstractmethod
async def list_active(self, company_id: int, user_id: str, limit: int = 50) -> list[Session]: ...
async def list_active(
self,
company_id: int,
user_id: str,
limit: int = 50,
*,
scene: str | None = None,
) -> list[Session]: ...
@abstractmethod
async def find_active_by_scene_ref(
self,
company_id: int,
user_id: str,
*,
scene: str,
scene_ref: str,
) -> Session | None: ...
@abstractmethod
async def update(self, session: Session) -> Session: ...