utilitas 1999.1.3 → 1999.1.4

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
@@ -69,7 +69,7 @@ const [
69
69
  'medium', 'think', '<think>', '</think>', 'AZURE', '<tools>',
70
70
  '</tools>', 'tools', 'text', 'thinking', 'OK', 'function',
71
71
  'gpt-4.5-preview', 'redacted_thinking', 'gemma-3-27b-it',
72
- 'AZURE OPENAI', 'ANTHROPIC', 'VERTEX ANTHROPIC', 'gemma3:27b',
72
+ 'Azure Openai', 'Anthropic', 'Vertex Anthropic', 'gemma3:27b',
73
73
  7680 * 4320, [], 10, { log: true }, 'Alan', 'user', 'system',
74
74
  'assistant', 'model', 'json_object', 'tool', true,
75
75
  'AI engine has not been initialized.', 'Invalid file data.', 1.1, 100,
@@ -1360,7 +1360,7 @@ const initChat = async (options = {}) => {
1360
1360
  assert(spTokens < mxPmpt,
1361
1361
  `System prompt is too long: ${spTokens} / ${mxPmpt} tokens.`);
1362
1362
  }
1363
- return chatConfig;
1363
+ return { chatConfig, ais };
1364
1364
  };
1365
1365
 
1366
1366
  const defaultSession = session => ({
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": "1999.1.3",
4
+ "version": "1999.1.4",
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": "1999.1.3",
4
+ "version": "1999.1.4",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",