@assistant-ui/react 0.5.39 → 0.5.40

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.mjs CHANGED
@@ -1056,10 +1056,11 @@ var EdgeChatAdapter = class {
1056
1056
  // src/runtimes/edge/useEdgeRuntime.ts
1057
1057
  var useEdgeRuntime = ({
1058
1058
  initialMessages,
1059
+ maxToolRoundtrips,
1059
1060
  ...options
1060
1061
  }) => {
1061
1062
  const [adapter] = useState3(() => new EdgeChatAdapter(options));
1062
- return useLocalRuntime(adapter, { initialMessages });
1063
+ return useLocalRuntime(adapter, { initialMessages, maxToolRoundtrips });
1063
1064
  };
1064
1065
 
1065
1066
  // src/runtimes/local/shouldContinue.tsx