@thanh01.pmt/curriculum-kit 1.4.29 → 1.4.30
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/ai/index.cjs +7 -0
- package/dist/ai/index.cjs.map +1 -1
- package/dist/ai/index.mjs +7 -0
- package/dist/ai/index.mjs.map +1 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/dist/media/index.cjs +7 -0
- package/dist/media/index.cjs.map +1 -1
- package/dist/media/index.mjs +7 -0
- package/dist/media/index.mjs.map +1 -1
- package/dist/pipeline/index.cjs.map +1 -1
- package/dist/pipeline/index.mjs.map +1 -1
- package/dist/workflow/index.cjs +7 -0
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.mjs +7 -0
- package/dist/workflow/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/workflow/index.cjs
CHANGED
|
@@ -486,6 +486,13 @@ Guidelines:
|
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
+
if (!options.customInference && resolveApiKey("CURRICULUM_KIT_REQUIRE_CUSTOM_INFERENCE") === "1") {
|
|
490
|
+
throw createAiInferenceError({
|
|
491
|
+
errorCode: "ERR_CUSTOM_INFERENCE_REQUIRED",
|
|
492
|
+
message: "customInference is REQUIRED (CURRICULUM_KIT_REQUIRE_CUSTOM_INFERENCE=1): pass buildKitCustomInference(...) so every LLM call flows through the host AI SDK gateway and its unified Langfuse tracing. Raw-fetch provider routes are disabled by mandate.",
|
|
493
|
+
rawError: { mandate: "CURRICULUM_KIT_REQUIRE_CUSTOM_INFERENCE", hasCustomInference: false }
|
|
494
|
+
});
|
|
495
|
+
}
|
|
489
496
|
const formattedMessages = [
|
|
490
497
|
{ role: "system", content: systemInstruction },
|
|
491
498
|
...messages.map((m) => ({
|