@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
  defaultSystemMessage,
3
3
  useCopilotChat
4
- } from "../chunk-GEE5AMYL.mjs";
5
- import "../chunk-6ZLSC4KB.mjs";
4
+ } from "../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";
@@ -838,6 +838,9 @@ function useChat(options) {
838
838
  const action = actions.find(
839
839
  (action2) => action2.name === message.name
840
840
  );
841
+ if (action && action.available === "remote") {
842
+ continue;
843
+ }
841
844
  const currentResultMessagePairedFeAction = message.isResultMessage() ? getPairedFeAction(actions, message) : null;
842
845
  if (action && message.isActionExecutionMessage()) {
843
846
  const isRenderAndWaitAction = (action == null ? void 0 : action._isRenderAndWait) || false;