learn-claude-code
learn-claude-code copied to clipboard
fix: safely extract text in summarize_history
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.

@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.
Thanks for the PR, but the latest S08 chapter has already resolved this issue.