@thanh01.pmt/curriculum-kit 1.4.30 → 1.4.31

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.cjs CHANGED
@@ -1839,7 +1839,7 @@ async function inferStructured(schema, systemPrompt, userPrompt, options, label)
1839
1839
  } catch (aiSdkErr) {
1840
1840
  console.warn(`[SlideProductionWorkflow] AI SDK generateObject failed for ${label}:`, aiSdkErr?.message || aiSdkErr);
1841
1841
  }
1842
- if (options.allowLegacyFallback === false) return null;
1842
+ if (options.allowLegacyFallback !== true) return null;
1843
1843
  try {
1844
1844
  const messages = [
1845
1845
  { role: "user", content: [systemPrompt, userPrompt].filter(Boolean).join("\n\n") }