(id, result string)
| 24 | } |
| 25 | |
| 26 | func toolResultMsg(id, result string) api.Message { |
| 27 | return api.Message{Role: api.RoleUser, Content: []api.Block{{ |
| 28 | Type: api.BlockToolResult, |
| 29 | ToolUseID: id, |
| 30 | ToolResult: result, |
| 31 | }}} |
| 32 | } |
| 33 | |
| 34 | // When the desired split already lands on a clean user text message, |
| 35 | // SafeSplitPoint returns it as-is. |
no outgoing calls
no test coverage detected