@forgeflowai/chat
Version:
This is an embeddable Chat widget for n8n. It allows the execution of AI-Powered Workflows through a Chat window.
16 lines (15 loc) • 376 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createTestChat = createTestChat;
var _index = require("@forgeflowai/chat/index");
function createTestChat(options = {}) {
const app = (0, _index.createChat)(options);
const container = app._container;
const unmount = () => app.unmount();
return {
unmount,
container
};
}