fix(session): 꼬리질문을 maxQuestions 카운트에서 제외 — 면접 조기·돌연 종료 방지#115
Merged
Conversation
답변 직후 꼬리질문이 maxQuestions 한도를 채워 면접이 메인질문 몇 개 만에
끝나고, 생성된 꼬리질문을 버린 채 피드백으로 튕기던 문제 수정.
(이전 PR이 미머지·구버전이라 현재 dev 위에 재적용. 멀티에이전트 2B와 무충돌.)
- applyFollowup: 꼬리질문은 incrementQuestionCount/자동종료에서 제외
- insertGeneralFromPool: 메인질문 삽입 직후 즉시 종료 제거(maybeAutoEnd 삭제)
→ 종료는 메인질문의 꼬리 사이클 후 advanceToNextGeneral(isMaxReached
또는 POOL_EXHAUSTED)에서만. "마지막 질문 묻자마자 종료" 신규 버그도 방지
- totalQuestionCount/isMaxReached = 메인(일반)질문 수 의미로 정리(주석)
- 테스트: 꼬리질문 비카운트·비종료, 메인질문 max 도달 시 advance 종료
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
답변 직후 꼬리질문이 maxQuestions 한도를 채워 면접이 메인질문 몇 개 만에
끝나고, 생성된 꼬리질문을 버린 채 피드백으로 튕기던 문제 수정.
(이전 PR이 미머지·구버전이라 현재 dev 위에 재적용. 멀티에이전트 2B와 무충돌.)
변경 사항