@acosmi/sdk-ts 2.13.0 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3608,9 +3608,7 @@ function normalizeInputModalities(models) {
3608
3608
  if (Array.isArray(m.inputModalities)) continue;
3609
3609
  const snake = m.input_modalities;
3610
3610
  if (Array.isArray(snake)) {
3611
- m.inputModalities = snake.filter(
3612
- (v) => v === "text" || v === "image"
3613
- );
3611
+ m.inputModalities = snake.filter((v) => typeof v === "string");
3614
3612
  }
3615
3613
  }
3616
3614
  return models;