MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / setModelSelectError

Method setModelSelectError

chat/components/ChatInput.js:1542–1545  ·  view source on GitHub ↗
(selectEl)

Source from the content-addressed store, hash-verified

1540 if (isBackward && offset > 0) {
1541 const candidate = children[offset - 1];
1542 if (candidate?.nodeName === 'BR') return removeNewlineAt(candidate);
1543 }
1544 if (!isBackward && children[index]?.nodeName === 'BR') {
1545 return removeNewlineAt(children[index]);
1546 }
1547 }
1548

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected