utilitas 2000.3.5 → 2000.3.7
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
|
@@ -956,7 +956,7 @@ const initChat = async (options = {}) => {
|
|
|
956
956
|
options.instructions && (chatConfig.systemPrompt = options.instructions);
|
|
957
957
|
// Use Gemini instead of ChatGPT because of the longer package.
|
|
958
958
|
const [spTokens, ais] = await Promise.all([countTokens([buildMessage(
|
|
959
|
-
|
|
959
|
+
chatConfig.systemPrompt, system
|
|
960
960
|
)]), getAi(null, { all: true })]);
|
|
961
961
|
for (const ai of ais) {
|
|
962
962
|
const mxPmpt = ai.model.maxInputTokens / 2;
|
package/lib/manifest.mjs
CHANGED