(m map[string]any, key string)
| 1343 | converted = append(converted, map[string]any{"role": role, "content": contentStr}) |
| 1344 | i++ |
| 1345 | continue |
| 1346 | } |
| 1347 | |
| 1348 | contentList, ok := normalizeContentBlocks(content) |
| 1349 | if !ok { |
| 1350 | converted = append(converted, map[string]any{"role": role, "content": fmt.Sprint(content)}) |
| 1351 | i++ |
| 1352 | continue |
| 1353 | } |
| 1354 |
no outgoing calls
no test coverage detected