@copilotkit/react-core 1.9.3-next.2 → 1.9.3-next.4

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useLangGraphInterrupt
3
- } from "../chunk-NGQN3JRJ.mjs";
4
- import "../chunk-GEE5AMYL.mjs";
5
- import "../chunk-6ZLSC4KB.mjs";
3
+ } from "../chunk-5B3NSTQK.mjs";
4
+ import "../chunk-DNHCRVE6.mjs";
5
+ import "../chunk-QPX2JKOR.mjs";
6
6
  import "../chunk-4CEQJ2X6.mjs";
7
7
  import "../chunk-GIMSRCVW.mjs";
8
8
  import "../chunk-SGF6C7I6.mjs";
package/dist/index.js CHANGED
@@ -2537,6 +2537,9 @@ function useChat(options) {
2537
2537
  const action = actions.find(
2538
2538
  (action2) => action2.name === message.name
2539
2539
  );
2540
+ if (action && action.available === "remote") {
2541
+ continue;
2542
+ }
2540
2543
  const currentResultMessagePairedFeAction = message.isResultMessage() ? getPairedFeAction(actions, message) : null;
2541
2544
  if (action && message.isActionExecutionMessage()) {
2542
2545
  const isRenderAndWaitAction = (action == null ? void 0 : action._isRenderAndWait) || false;