MCPcopy Create free account
hub / github.com/error311/FileRise / nextModeValue

Function nextModeValue

public/js/aiChat.js:426–430  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

424 };
425
426 const nextModeValue = (value) => {
427 if (value === 'auto') return 'on';
428 if (value === 'on') return 'off';
429 return 'auto';
430 };
431
432 const modeLabel = (value) => {
433 if (value === 'on') return 'On';

Callers 1

createChatUiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected