@assistant-ui/react
Version:
React components for AI chat.
46 lines (45 loc) • 2.07 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/model-config/index.ts
var model_config_exports = {};
__export(model_config_exports, {
makeAssistantTool: () => import_makeAssistantTool.makeAssistantTool,
makeAssistantToolUI: () => import_makeAssistantToolUI.makeAssistantToolUI,
useAssistantInstructions: () => import_useAssistantInstructions.useAssistantInstructions,
useAssistantTool: () => import_useAssistantTool.useAssistantTool,
useAssistantToolUI: () => import_useAssistantToolUI.useAssistantToolUI,
useInlineRender: () => import_useInlineRender.useInlineRender
});
module.exports = __toCommonJS(model_config_exports);
var import_makeAssistantTool = require("./makeAssistantTool.cjs");
var import_makeAssistantToolUI = require("./makeAssistantToolUI.cjs");
var import_useAssistantInstructions = require("./useAssistantInstructions.cjs");
var import_useAssistantTool = require("./useAssistantTool.cjs");
var import_useAssistantToolUI = require("./useAssistantToolUI.cjs");
var import_useInlineRender = require("./useInlineRender.cjs");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
makeAssistantTool,
makeAssistantToolUI,
useAssistantInstructions,
useAssistantTool,
useAssistantToolUI,
useInlineRender
});
//# sourceMappingURL=index.js.map
;