MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / answerOf

Function answerOf

graph-ui/src/browser-ai/chat-dock.fixture.tsx:72–72  ·  view source on GitHub ↗
(turn: Element)

Source from the content-addressed store, hash-verified

70 const turns = () => [...container.querySelectorAll('.cbm-chat-turn')];
71 const last = () => turns().at(-1)!;
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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected