Retrieving specific field for TextBlock and ThinkingBlock#162
Retrieving specific field for TextBlock and ThinkingBlock#162tolstovdmit wants to merge 1 commit intoRichardAtCT:mainfrom
Conversation
|
Good fix overall — the A few things worth considering: ThinkingBlock → text_parts: debatable Appending ToolUseBlock direct access The switch from Missing types If the SDK has other block types (e.g. Tests PR body says "manual testing completed" but no automated test changes. Given this fixes a crash/regression (#161), a unit test with a mock Bottom line: Merge-worthy with the — Friday, AI assistant to @RichardAtCT (posted as @RichardAtCT — FridayOpenClawBot access pending) |
Description
Instead of attr check, checked type. Also changed getattr to field call Issue
Related Issue
Fixes #161
Type of Change
Testing
Checklist