partial commit of AI-Agents work. Need to refactor out keys to commit the rest.

This commit is contained in:
2025-05-30 16:32:21 -05:00
parent db05f06137
commit ab1e59deeb
4 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
if (router.hasNext()) {
recognizedObject.goTo = router.next().id;
recognizedObject.input = router.next().input;
} else {
recognizedObject.input = recognizedObject.req.body.input;
}
console.log({
agentRouter: {
goTo: recognizedObject.goTo,
input: recognizedObject.input,
},
});
next();

View File

@@ -0,0 +1,2 @@
router.setState('TimeAndDate', 'working');
next();