client: Honor IsError and extract JSON from tool text #17
Reference in New Issue
Block a user
Delete Branch "client/tooljson-iserror"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Follow-up on #16 / closed #15 after Jerry dump arrived mid-flight.
IsErrortext isTrimSpaced (whitespace-only →tool error)IsErrortext even whenStructuredContentis presentrawJSONhelper; try concatenated TextContent JSON before extracttypes=[…]via%v; includestextLenIsError=true,StructuredContent=null, Text=end must be after start,GetError=nilWhy
Jerry dump: IsError=true, StructuredContent=null, Text=
end must be after start, GetError=nil. Root paper time window remains tradey#2 (out of scope).Test
go test ./...greenNotes
Do not merge until reviewed. Issue: #15
Closing without merge — race leftover. #15 already landed as #16 (
51e1539on develop). Jerry-dump IsError path is covered there; minor TrimSpace/test nits not worth a second PR.Pull request closed