(id, name string)
| 15 | } |
| 16 | |
| 17 | func toolUseMsg(id, name string) api.Message { |
| 18 | return api.Message{Role: api.RoleAssistant, Content: []api.Block{{ |
| 19 | Type: api.BlockToolUse, |
| 20 | ToolUseID: id, |
| 21 | ToolName: name, |
| 22 | ToolInput: "{}", |
| 23 | }}} |
| 24 | } |
| 25 | |
| 26 | func toolResultMsg(id, result string) api.Message { |
| 27 | return api.Message{Role: api.RoleUser, Content: []api.Block{{ |
no outgoing calls
no test coverage detected