@trops/dash-core 0.1.550 → 0.1.552
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/electron/index.js +26 -152
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +7 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -62641,6 +62641,10 @@ function ChatCore(_ref) {
|
|
|
62641
62641
|
sessionKey = _ref$sessionKey === void 0 ? null : _ref$sessionKey,
|
|
62642
62642
|
_ref$backend = _ref.backend,
|
|
62643
62643
|
backend = _ref$backend === void 0 ? "anthropic" : _ref$backend,
|
|
62644
|
+
_ref$replaceSystemPro = _ref.replaceSystemPrompt,
|
|
62645
|
+
replaceSystemPrompt = _ref$replaceSystemPro === void 0 ? false : _ref$replaceSystemPro,
|
|
62646
|
+
_ref$disableTools = _ref.disableTools,
|
|
62647
|
+
disableTools = _ref$disableTools === void 0 ? false : _ref$disableTools,
|
|
62644
62648
|
_ref$onPublishEvent = _ref.onPublishEvent,
|
|
62645
62649
|
onPublishEvent = _ref$onPublishEvent === void 0 ? null : _ref$onPublishEvent,
|
|
62646
62650
|
_ref$hideToolsBanner = _ref.hideToolsBanner,
|
|
@@ -62991,7 +62995,9 @@ function ChatCore(_ref) {
|
|
|
62991
62995
|
systemPrompt: systemPrompt,
|
|
62992
62996
|
maxToolRounds: parseInt(maxToolRounds, 10) || 10,
|
|
62993
62997
|
widgetUuid: uuid || persistKey || sessionKey,
|
|
62994
|
-
cwd: cwd || undefined
|
|
62998
|
+
cwd: cwd || undefined,
|
|
62999
|
+
replaceSystemPrompt: replaceSystemPrompt,
|
|
63000
|
+
disableTools: disableTools
|
|
62995
63001
|
});
|
|
62996
63002
|
}, [mainApi, isLoading, messages, servers, enabledTools, apiKey, model, systemPrompt, maxToolRounds, uuid, persistKey, onPublishEvent, backend, isAnthropicBackend]);
|
|
62997
63003
|
|