Skip to content

Agent Zero AI framework

334 B
Raw Blame
import { createStore } from "/js/AlpineStore.js";

// define the model object holding data and functions
const model = {
  connected: false,
  progressActive: false,  // true when progress bar is active
};

// convert it to alpine store
const store = createStore("chatTop", model);

// export for use in other files
export { store };