fix: 캘린더 종료 시간(end_time) 지원 — 1시간 고정 제거

create_draft/create_confirmed에 end_time 파라미터 추가.
없으면 기본 1시간, 있으면 사용자 지정 종료 시간 사용.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-06 14:12:07 +09:00
parent 131022eb12
commit f73c46de3a
3 changed files with 12 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ CLASSIFIER_PROMPT = """\
사용 가능한 도구:
- calendar.today() — 오늘 일정 조회
- calendar.search(date_from, date_to) — 기간 일정 검색. 날짜는 YYYY-MM-DD
- calendar.create_draft(title, date, time, description) — 일정 생성 초안. 시간은 HH:MM. 실제 생성 아님
- calendar.create_draft(title, date, time, end_time, description) — 일정 생성 초안. 시간은 HH:MM. end_time 없으면 1시간. 실제 생성 아님
- calendar.create_confirmed() — pending_draft가 있을 때, 사용자가 "확인/예/yes" 한 경우만 사용
- email.search(query, days) — 메일 검색. days 기본 7
- email.read(uid) — 메일 본문 조회