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

Function inputFor

graph-ui/src/chat/ask-atlas.test.ts:19–29  ·  view source on GitHub ↗
(question: string, fetchImpl: ReturnType<typeof answering>)

Source from the content-addressed store, hash-verified

17}
18
19function inputFor(question: string, fetchImpl: ReturnType<typeof answering>): AskInput {
20 return {
21 question,
22 source: fakeSource(),
23 root: FAKE_ROOT,
24 origin: 'http://127.0.0.1:4141',
25 fetch: fetchImpl as unknown as AskInput['fetch'],
26 modelName: 'Qwen3.5-2B',
27 modelClass: 'A',
28 };
29}
30
31describe('compileQuestion', () => {
32 it('produces cards and a prompt for a question the index can answer', async () => {

Callers 1

ask-atlas.test.tsFile · 0.70

Calls 1

fakeSourceFunction · 0.90

Tested by

no test coverage detected