naisys
Version:
Node.js Autonomous Intelligence System
18 lines • 478 B
JavaScript
export var InputMode;
(function (InputMode) {
InputMode["Debug"] = "debug";
InputMode["LLM"] = "llm";
})(InputMode || (InputMode = {}));
export let current = InputMode.Debug;
export function toggle(forceMode) {
if (forceMode) {
current = forceMode;
}
else if (current == InputMode.Debug) {
current = InputMode.LLM;
}
else if (current == InputMode.LLM) {
current = InputMode.Debug;
}
}
//# sourceMappingURL=inputMode.js.map