(_ context.Context, content string, maxChars int, toolUseID, sessionDir string)
| 170 | return out |
| 171 | } |
| 172 | |
| 173 | func jsonFieldName(field reflect.StructField) string { |
| 174 | tag := field.Tag.Get("json") |
| 175 | if tag == "-" { |
| 176 | return "" |
| 177 | } |
| 178 | name := strings.Split(tag, ",")[0] |
| 179 | if name != "" { |
| 180 | return name |
| 181 | } |
nothing calls this directly
no test coverage detected