feat: add 甜甜 Feishu bot for 苏瑶3号 knowledge-graph agent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
renjianbo
2026-05-02 21:53:36 +08:00
parent a924486f26
commit d3a00ebae5
4 changed files with 393 additions and 0 deletions

View File

@@ -234,6 +234,13 @@ async def startup_event():
except Exception as e:
logger.error(f"苏瑶长连接启动失败: {e}")
# 启动甜甜飞书长连接(苏瑶3号)
try:
from app.services.tiantian_ws_handler import start_ws_client as start_tiantian_ws
asyncio.ensure_future(start_tiantian_ws())
except Exception as e:
logger.error(f"甜甜长连接启动失败: {e}")
# 注册路由
from app.api import auth, uploads, workflows, executions, websocket, execution_logs, data_sources, agents, platform_templates, model_configs, webhooks, template_market, batch_operations, collaboration, permissions, monitoring, alert_rules, node_test, node_templates, tools, agent_chat, agent_monitoring, knowledge_base, agent_schedules, notifications, feishu_bind