@copilotkitnext/core 1.54.0-next.7 → 1.54.0-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -816,7 +816,8 @@ var RunHandler = class {
816
816
  if (agent instanceof _ag_ui_client.HttpAgent) agent.headers = { ...this._internal.headers };
817
817
  const runAgentResult = await agent.connectAgent({
818
818
  forwardedProps: this._internal.properties,
819
- tools: this.buildFrontendTools(agent.agentId)
819
+ tools: this.buildFrontendTools(agent.agentId),
820
+ context: Object.values(this._internal.context)
820
821
  }, this.createAgentErrorSubscriber(agent));
821
822
  return this.processAgentResult({
822
823
  runAgentResult,