utilitas 1995.2.48 → 1995.2.49
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/README.md +1 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +5 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -51,9 +51,10 @@ const trimTailing = text => text.replace(/[\.\s]*$/, '');
|
|
|
51
51
|
const newSessionId = () => createUoid({ type: sessionType });
|
|
52
52
|
const renderText = (t, o) => _renderText(t, { extraCodeBlock: 0, ...o || {} });
|
|
53
53
|
const log = (cnt, opt) => _log(cnt, import.meta.url, { time: 1, ...opt || {} });
|
|
54
|
-
const [png, jpeg, mov, mpeg, mp4, mpg, avi, wmv, mpegps, flv] = [
|
|
54
|
+
const [png, jpeg, mov, mpeg, mp4, mpg, avi, wmv, mpegps, flv, gif, webp] = [
|
|
55
55
|
'image/png', 'image/jpeg', 'video/mov', 'video/mpeg', 'video/mp4',
|
|
56
56
|
'video/mpg', 'video/avi', 'video/wmv', 'video/mpegps', 'video/flv',
|
|
57
|
+
'image/gif', 'image/webp',
|
|
57
58
|
];
|
|
58
59
|
|
|
59
60
|
const [
|
|
@@ -122,6 +123,9 @@ const MODELS = {
|
|
|
122
123
|
requestLimitsRPD: 1500,
|
|
123
124
|
trainingData: 'Apr 2023',
|
|
124
125
|
vision: true,
|
|
126
|
+
supportedMimeTypes: [
|
|
127
|
+
png, jpeg, gif, webp,
|
|
128
|
+
],
|
|
125
129
|
},
|
|
126
130
|
[GEMINI_PRO]: {
|
|
127
131
|
contextWindow: 32760,
|
package/lib/manifest.mjs
CHANGED