diff --git a/journey/troubleshooting/251117_rb8001_calendar_duplicate_check_fix.md b/journey/troubleshooting/251117_rb8001_calendar_duplicate_check_fix.md index 24e2ca6..f834e03 100644 --- a/journey/troubleshooting/251117_rb8001_calendar_duplicate_check_fix.md +++ b/journey/troubleshooting/251117_rb8001_calendar_duplicate_check_fix.md @@ -128,21 +128,27 @@ if existing: - 시간 패턴에 "하루종일", "종일", "all day" 추가 - 하루종일 표현을 "하루종일"로 정규화하여 슬롯에 저장 -2. **시간 파싱 로직 개선** (`calendar_handler.py:505-572`) +2. **LLM 응답에서 하루종일 패턴 직접 추출** (`calendar_handler.py:65-78`) + - `extract_field`가 "(정보 없음)"을 반환하는 경우 대비 + - LLM 응답과 원본 메시지에서 "하루 종일", "하루종일" 패턴 직접 검색 + - 정규식 패턴: `r'하루\s*종일'`, `r'하루종일'`, `r'종일'`, `r'all\s*day'` + +3. **시간 파싱 로직 개선** (`calendar_handler.py:505-572`) - `parse_time_range` 함수에 하루종일 처리 로직 추가 - all-day 이벤트는 `date` 필드 사용 (예: "2025-12-25" → "2025-12-26") - 반환값에 `is_all_day` 플래그 추가 -3. **Google Calendar API 지원** (`calendar_skill.py:22-75`) +4. **Google Calendar API 지원** (`calendar_skill.py:22-75`) - `create_event`에 `is_all_day` 파라미터 추가 - all-day 이벤트인 경우 `is_all_day: true` 플래그를 skill-calendar로 전달 -4. **중복 체크 로직 개선** (`calendar_handler.py:100-131`) +5. **중복 체크 로직 개선** (`calendar_handler.py:100-131`) - all-day 이벤트는 `date` 필드로 비교 - 일반 이벤트는 `dateTime` 필드로 비교 ### 커밋 -- `7672831` (2025-11-18) +- `7672831` (2025-11-18): 하루종일 일정 등록 지원 추가 +- `19ed7b6` (2025-11-18): LLM 응답에서 하루종일 패턴 직접 추출 로직 추가 - 배포: Gitea Actions 자동 배포 완료, rb8001 컨테이너 재시작 확인 ### 검증