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/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
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1995.2.48",
4
+ "version": "1995.2.49",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1995.2.48",
4
+ "version": "1995.2.49",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",