@learnpack/learnpack 5.0.323 → 5.0.327
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/lib/commands/serve.js +778 -18
- package/lib/models/creator.d.ts +24 -0
- package/lib/utils/rigoActions.d.ts +1 -0
- package/lib/utils/rigoActions.js +1 -1
- package/package.json +4 -1
- package/src/commands/serve.ts +1058 -29
- package/src/models/creator.ts +75 -50
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +2150 -2132
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/rigoActions.ts +2 -1
package/src/ui/app.tar.gz
CHANGED
|
Binary file
|
package/src/utils/rigoActions.ts
CHANGED
|
@@ -547,6 +547,7 @@ type TAddInteractivityInputs = {
|
|
|
547
547
|
prev_lesson: string;
|
|
548
548
|
initial_lesson: string;
|
|
549
549
|
output_language: string;
|
|
550
|
+
lesson_info: string;
|
|
550
551
|
current_syllabus: string;
|
|
551
552
|
};
|
|
552
553
|
|
|
@@ -557,7 +558,7 @@ export const addInteractivity = async (
|
|
|
557
558
|
) => {
|
|
558
559
|
try {
|
|
559
560
|
const response = await axios.post(
|
|
560
|
-
`${RIGOBOT_HOST}/v1/prompting/completion/lesson-
|
|
561
|
+
`${RIGOBOT_HOST}/v1/prompting/completion/add-lesson-interactivy/`,
|
|
561
562
|
{
|
|
562
563
|
inputs,
|
|
563
564
|
include_purpose_objective: false,
|