MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / isFactoryConfig

Function isFactoryConfig

packages/runtime/src/agent/index.ts:898–902  ·  view source on GitHub ↗

* Type guard: returns true if this is a factory-mode config.

(
  config: BuiltInAgentConfiguration,
)

Source from the content-addressed store, hash-verified

896 * Type guard: returns true if this is a factory-mode config.
897 */
898function isFactoryConfig(
899 config: BuiltInAgentConfiguration,
900): config is BuiltInAgentFactoryConfig {
901 return "factory" in config;
902}
903
904export class BuiltInAgent extends AbstractAgent {
905 private abortController?: AbortController;

Callers 3

canOverrideMethod · 0.85
getCapabilitiesMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…