(raw string)
| 401 | } |
| 402 | |
| 403 | func unmarshal[T any](raw string) *T { |
| 404 | var t T |
| 405 | if err := json.Unmarshal([]byte(raw), &t); err != nil { |
| 406 | return nil |
| 407 | } |
| 408 | return &t |
| 409 | } |
| 410 | |
| 411 | // renderToolCallTitle renders a title for a tool call. Should be followed by a |
| 412 | // call to render a markdown representation of the tool call's content. |
nothing calls this directly
no outgoing calls
no test coverage detected