MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / demoOverrides

Function demoOverrides

apps/api/src/engine/engine.service.ts:12–16  ·  view source on GitHub ↗

When DEMO_LLM=1, run the full pipeline against a deterministic stub LLM * (no external key) so the UI can be exercised end-to-end offline.

()

Source from the content-addressed store, hash-verified

10/** When DEMO_LLM=1, run the full pipeline against a deterministic stub LLM
11 * (no external key) so the UI can be exercised end-to-end offline. */
12function demoOverrides(): { quick: LlmClient; deep: LlmClient } | undefined {
13 if (process.env.DEMO_LLM !== "1") return undefined;
14 const demo = createDemoLlm();
15 return { quick: demo, deep: demo };
16}
17
18/** Project stored settings onto engine runtime overrides (only set fields). */
19export function settingsToRuntime(settings: Settings): Record<string, unknown> {

Callers 1

getForUserMethod · 0.85

Calls 1

createDemoLlmFunction · 0.85

Tested by

no test coverage detected