utilitas 2000.3.36 → 2000.3.37
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 +2 -2
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -1347,8 +1347,8 @@ const stt = async (audio, options = {}) => await distillFile(
|
|
|
1347
1347
|
|
|
1348
1348
|
const prompt = async (input, options = {}) => {
|
|
1349
1349
|
const ai = await getAi(options?.aiId, options);
|
|
1350
|
-
const tag =
|
|
1351
|
-
options.log && log(`Prompt ${tag}: ${JSON.stringify(input)}`);
|
|
1350
|
+
const tag = packModelLabel([ai.provider, ai.model.source, ai.model.name]);
|
|
1351
|
+
options.log && log(`Prompt ${tag}: ${JSON.stringify(input || '[ATTACHMENTS]')}`);
|
|
1352
1352
|
const resp = await ai.prompt(input, options);
|
|
1353
1353
|
options.log && log(`Response ${tag}: ${JSON.stringify(resp.text)}`);
|
|
1354
1354
|
return resp;
|
package/lib/manifest.mjs
CHANGED