docs(troubleshooting): LLM task_type 보정 및 대명사 치환 로깅/폴백 로깅 반영 (baadbf7)

This commit is contained in:
Claude-51124 2025-10-23 12:16:28 +09:00
parent 6eeb25a308
commit 90a273c7d1

View File

@ -81,6 +81,8 @@
- 코드 적용: `app/router/message_router.py` — 대명사(이/그/저 기업·회사) 해소 후 `/search` 질의로 강제 호출 (커밋: `d0f203d`)
- 코드 적용: `app/commands/skill_commands.py` — LLM 요약 뒤 `출처:` 블록에 상위 3건 `[n] 제목 - URL` 표준 표기 (커밋: `8c40f7a`)
- 코드 적용: `app/services/workflows/web_search_workflow.py` — LangGraph 기반 웹검색 워크플로우(resolve→search→summarize→format) + sqlite 체크포인터(`state/web_search_checkpoint.sqlite`) (커밋: `a1b3b03`)
- 코드 적용: `app/router/router.py:371-383` — 내부 LLM 호출 시 `task_type='web_search'``chat`으로 보정해 스키마 검증 오류 방지 (커밋: `baadbf7`)
- 코드 적용: `app/router/message_router.py` — 대명사→기업명 치환 로깅 및 그래프 실패 시 `/search` 폴백 로깅 추가 (커밋: `baadbf7`)
- 단위 테스트: `rb8001/tests/test_web_search_resolution.py` (로컬 전용, Git ignore)
- `_resolve_search_query('이 기업을 검색해줘')` → 최근 대화의 “지에프솔루션”으로 치환 확인
- `handle_web_search()``/search 지에프솔루션 ...` 호출 확인