@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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|