(turn: Element)
| 72 | const answerOf = (turn: Element) => turn.querySelector('.cbm-chat-answer-text')?.textContent ?? ''; |
| 73 | const buttonsOf = (turn: Element) => [...turn.querySelectorAll('button.cbm-chat-retry')].map(item => item.textContent); |
| 74 | const notesOf = (turn: Element) => [...turn.querySelectorAll('.cbm-chat-answer-note, .cbm-chat-model-note')].map(item => item.textContent ?? ''); |
| 75 | const dividers = () => [...container.querySelectorAll('.cbm-chat-topic-break')].map(item => item.textContent); |
| 76 | const card = () => container.querySelector('[aria-label="Current selection explanation"]'); |
| 77 | /** The user messages of a request, each by its last line (the question). */ |
nothing calls this directly
no outgoing calls
no test coverage detected