refactor: 将 n8n 工作流外部化并简化数据库 schema

- 移除 n8n-workflows 目录下的工作流配置文件
- 从 Project 模型移除 embedding 和 embeddingUpdatedAt 字段
- 添加 N8N_AI_SEARCH_WEBHOOK 环境变量配置

Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
This commit is contained in:
2026-01-27 15:17:58 +08:00
co-authored by Claude
parent 02cbe59a0c
commit 3aec209ff9
5 changed files with 18 additions and 582 deletions
+3
View File
@@ -4,6 +4,9 @@ DATABASE_URL="postgresql://postgres:password@localhost:5432/agent_park"
# Webhook API - Generate a secure key for production
WEBHOOK_API_KEY="sk_live_your_secure_api_key_min_32_chars"
# n8n AI Search Webhook
N8N_AI_SEARCH_WEBHOOK="https://n8n.mzaxd.fun/webhook/ai-search"
# Internationalization
NEXT_INTL_DEFAULT_LOCALE="zh"
NEXT_INTL_SUPPORTED_LOCALES="zh,en"