feat: Git/Vikunja 미설정 시 차단 대신 안내 후 로컬 작업 진행
- 작업 실행 차단 제거 -> 안내 메시지만 표시 - /workspace set만으로 바로 작업 가능 - 나중에 /workspace git, /workspace vikunja로 등록 가능
This commit is contained in:
@@ -183,10 +183,13 @@ async def on_message(message: discord.Message):
|
||||
logger.info(f"통합 분류: {mode} — \"{user_text[:50]}\"")
|
||||
|
||||
if mode == "task":
|
||||
# 설정 완료 체크
|
||||
# Git/Vikunja 미설정 안내 (차단하지 않음)
|
||||
if not ws.is_ready:
|
||||
await _send_setup_warning(message, ws)
|
||||
return
|
||||
missing = ws.missing_configs
|
||||
note = " / ".join(missing)
|
||||
await message.channel.send(
|
||||
f"ℹ️ {note} 미설정 상태입니다. 로컬 작업만 진행됩니다."
|
||||
)
|
||||
await _handle_task(message, user_text, ws)
|
||||
elif mode == "clarify":
|
||||
question = result.get("question", "더 구체적으로 말씀해 주시겠어요?")
|
||||
|
||||
Reference in New Issue
Block a user