Refactor: [3.0.0] Discord 전송을 n8n으로 이관, YouTube RSS → Data API 전환
Some checks failed
news-summary-bot-cicd / build_push_deploy (push) Has been cancelled

- FastAPI에서 Discord 직접 전송 제거, 요약 결과를 JSON으로 반환
- app/discord.py 삭제, DISCORD_WEBHOOK_URL 환경변수 제거
- 에러 시 500 대신 200 + status: error로 응답 (n8n에서 분기 처리)
- CLAUDE.md에 n8n 워크플로우 노드별 상세 설정 문서화

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sm4640
2026-03-25 15:05:36 +09:00
parent 22949d0602
commit 302f892c5d
4 changed files with 176 additions and 169 deletions

View File

@@ -3,7 +3,6 @@ from pydantic_settings import BaseSettings
class Settings(BaseSettings):
anthropic_api_key: str
discord_webhook_url: str
api_secret: str = ""
model_config = {"env_file": ".env", "extra": "ignore"}