Se agrega webhook de conversacion plan
This commit is contained in:
@@ -8,7 +8,8 @@ import OpenAI from "openai";
|
||||
import { ResponseMetadata } from "../_shared/utils.ts";
|
||||
import { handlePlanesEstudioResponse } from "./planes_estudio/index.ts";
|
||||
import { handleAsignaturasResponse } from "./asignaturas/index.ts";
|
||||
import { handlePlanMensajesResponse } from "./planes_estudio/crear.ts";
|
||||
import { handlePlanMensajesResponse } from "../create-chat-conversation/plan/crear.ts";
|
||||
|
||||
|
||||
|
||||
console.log("Starting OpenAI webhook responses function");
|
||||
@@ -36,9 +37,7 @@ async function handleCompletedResponse(
|
||||
case "asignaturas":
|
||||
await handleAsignaturasResponse(response);
|
||||
break;
|
||||
case "plan_mensajes_ia": // <-- Nueva tabla añadida
|
||||
console.log("entre aqui");
|
||||
|
||||
case "plan_mensajes_ia":
|
||||
await handlePlanMensajesResponse(response);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user