utilitas 2000.2.5 → 2000.3.2
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/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +1 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -726,7 +726,7 @@ const buildPrompts = async (model, input, options = {}) => {
|
|
|
726
726
|
if (options.messages?.length) {
|
|
727
727
|
options.messages?.shift();
|
|
728
728
|
msgBuilder();
|
|
729
|
-
} else if (options.
|
|
729
|
+
} else if (options.trimBeginning) {
|
|
730
730
|
content = '...' + trimBeginning(trimBeginning(content).slice(1));
|
|
731
731
|
} else {
|
|
732
732
|
content = trimTailing(trimTailing(content).slice(0, -1)) + '...';
|
package/lib/manifest.mjs
CHANGED