MCPcopy Create free account
hub / github.com/Noumena-Network/code / runReplTurn

Function runReplTurn

src/QueryEngine.ts:1316–1321  ·  view source on GitHub ↗
(
  params: QueryParams,
  deps?: { runQuery?: ReplQueryRunner },
)

Source from the content-addressed store, hash-verified

1314 * semantics in the same patch.
1315 */
1316export async function* runReplTurn(
1317 params: QueryParams,
1318 deps?: { runQuery?: ReplQueryRunner },
1319): AsyncGenerator<QueryEngineReplEvent, Terminal> {
1320 return yield* QueryEngine.runPreparedTurn(params, deps)
1321}
1322
1323/**
1324 * Sends a single prompt to the API and returns the response.

Callers

nothing calls this directly

Calls 1

runPreparedTurnMethod · 0.80

Tested by

no test coverage detected