MCPcopy Create free account
hub / github.com/cortexkit/magic-context / resolveDreamerFromConfig

Function resolveDreamerFromConfig

packages/pi-plugin/src/index.ts:438–442  ·  view source on GitHub ↗
(
	config: MagicContextConfig,
)

Source from the content-addressed store, hash-verified

436}
437
438export function resolveDreamerFromConfig(
439 config: MagicContextConfig,
440): DreamerConfig | undefined {
441 return config.dreamer?.disable === true ? undefined : config.dreamer;
442}
443
444/**
445 * Pi extension default export. Called once per Pi session.

Callers 2

resolvers.test.tsFile · 0.90
index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected