| 223 | return normalize_text_as_paragraph(text->as_string()); |
| 224 | } |
| 225 | } |
| 226 | throw std::runtime_error("workflow batch JSON text file requires a string root, input, or text: " + path.string()); |
| 227 | } |
| 228 | throw std::runtime_error("unsupported workflow batch text extension: " + ext); |
| 229 | } |
| 230 | |
| 231 | bool is_text_batch_path(const std::filesystem::path & path) { |
no test coverage detected