MCPcopy
hub / github.com/CopilotKit/CopilotKit / setProperties

Method setProperties

packages/core/src/core/core.ts:741–751  ·  view source on GitHub ↗
(properties: Record<string, unknown>)

Source from the content-addressed store, hash-verified

739 }
740
741 setProperties(properties: Record<string, unknown>): void {
742 this._properties = properties;
743 void this.notifySubscribers(
744 (subscriber) =>
745 subscriber.onPropertiesChanged?.({
746 copilotkit: this,
747 properties: this.properties,
748 }),
749 "Subscriber onPropertiesChanged error:",
750 );
751 }
752
753 /**
754 * Agent management (delegated to AgentRegistry)

Callers 6

CopilotKitProviderFunction · 0.80
forwardFunction · 0.80
useCoAgentFunction · 0.80
updateRuntimeMethod · 0.80
bridgeA2UIActionFunction · 0.80
CopilotKitProviderFunction · 0.80

Calls 1

notifySubscribersMethod · 0.95

Tested by

no test coverage detected