@assistant-ui/react 0.5.39 → 0.5.40

Sign up to get free protection for your applications and to get access to all the features.
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