You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Anthropic SSE 파싱 — content_block_stop에서 텍스트 중복 삽입 버그 수정
- content_block_stop이 tool_use 블록 이후에도 이전 텍스트를 중복 push
- 원인: current_text를 push 후 clear 안 함 + 현재 블록 타입 미추적
- current_block_is_text 플래그 추가 → 텍스트 블록일 때만 push + 즉시 clear
- tool_result ID 매칭 안전장치 추가 — 누락된 tool_use_id에 placeholder 생성
- 증상: [text, tool_use, text_dup, tool_use, text_dup] → API에서 tool_result 매칭 실패
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments