feat: Git/Vikunja 미설정 시 차단 대신 안내 후 로컬 작업 진행

- 작업 실행 차단 제거 -> 안내 메시지만 표시
- /workspace set만으로 바로 작업 가능
- 나중에 /workspace git, /workspace vikunja로 등록 가능
This commit is contained in:
2026-03-06 21:47:24 +09:00
parent 8bd7dcab3f
commit 889badc52b

View File

@@ -183,10 +183,13 @@ async def on_message(message: discord.Message):
logger.info(f"통합 분류: {mode}\"{user_text[:50]}\"") logger.info(f"통합 분류: {mode}\"{user_text[:50]}\"")
if mode == "task": if mode == "task":
# 설정 완료 체크 # Git/Vikunja 미설정 안내 (차단하지 않음)
if not ws.is_ready: if not ws.is_ready:
await _send_setup_warning(message, ws) missing = ws.missing_configs
return note = " / ".join(missing)
await message.channel.send(
f" {note} 미설정 상태입니다. 로컬 작업만 진행됩니다."
)
await _handle_task(message, user_text, ws) await _handle_task(message, user_text, ws)
elif mode == "clarify": elif mode == "clarify":
question = result.get("question", "더 구체적으로 말씀해 주시겠어요?") question = result.get("question", "더 구체적으로 말씀해 주시겠어요?")