add MoviePilot AI agent implementation and workflow manager

This commit is contained in:
jxxghp
2025-10-18 21:55:31 +08:00
parent ee71bafc96
commit 003781e903
24 changed files with 375 additions and 376 deletions
+1 -1
View File
@@ -847,7 +847,7 @@ class MessageChain(ChainBase):
# 异步处理AI智能体请求
import asyncio
from app.agent.agent import agent_manager
from app.agent import agent_manager
# 生成会话ID
session_id = f"user_{userid}_{hash(user_message) % 10000}"