learn-claude-code icon indicating copy to clipboard operation
learn-claude-code copied to clipboard

fix: safely extract text in summarize_history

Open loading2332 opened this issue 7 months ago • 1 comments

Previously, the code directly read response.content[0].text, which causes an AttributeError when models return a ThinkingBlock first. Fixed by reusing the extract_text utility.  image

loading2332 avatar Apr 10 '26 04:04 loading2332

@loading2332 is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 10 '26 04:04 vercel[bot]

Thanks for the PR, but the latest S08 chapter has already resolved this issue.

Bill-Billion avatar Jun 26 '26 19:06 Bill-Billion