fix: Synology 응답에서 마크다운 제거 — **bold**, # header, - list → 순수 텍스트

상태 메시지(이모지)는 raw=True로 유지

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-06 12:57:50 +09:00
parent a16ff2ea88
commit 40c5d3cf21
3 changed files with 18 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ async def run(job: Job) -> None:
if job.callback != "synology":
await state_stream.push(job.id, "rewrite", {"content": rewritten_message})
else:
await send_to_synology("📝 더 깊이 살펴볼게요...")
await send_to_synology("📝 더 깊이 살펴볼게요...", raw=True)
if job.status == JobStatus.cancelled:
return
@@ -241,7 +241,7 @@ async def run(job: Job) -> None:
await state_stream.push(job.id, "error", {"message": "내부 오류가 발생했습니다."})
if job.callback == "synology":
try:
await send_to_synology("⚠️ 처리 중 오류가 발생했습니다. 다시 시도해주세요.")
await send_to_synology("⚠️ 처리 중 오류가 발생했습니다. 다시 시도해주세요.", raw=True)
except Exception:
pass
try: