utilitas 1999.1.74 → 1999.1.75

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
@@ -68,7 +68,7 @@ const [
68
68
  'OPENAI_VOICE', 'medium', 'low', 'high', 'medium', 'think', '<think>',
69
69
  '</think>', 'AZURE', '<tools>', '</tools>', 'tools', 'text', 'thinking',
70
70
  'OK', 'function', 'gpt-4.1', 'redacted_thinking', 'gemma3:27b',
71
- 'Azure Openai', 'Anthropic', 'Vertex Anthropic', 7680 * 4320, [], 10,
71
+ 'Azure Openai', 'Anthropic', 'Vertex Anthropic', 7680 * 4320, [], 30,
72
72
  { log: true }, 'Alan', 'user', 'system', 'assistant', 'model',
73
73
  'json_object', 'tool', true, 'gemini-embedding-exp-03-07',
74
74
  'Invalid file data.', 1.1, 100, 'Content is required.', 2048 * 2048,
@@ -1015,6 +1015,7 @@ const promptOpenAI = async (aiId, content, options = {}) => {
1015
1015
  tools: options.tools ?? (await toolsOpenAI()).map(x => x.def),
1016
1016
  tool_choice: 'auto',
1017
1017
  } : {}, ...azure ? {} : { store: true }, stream: true,
1018
+ reasoning_effort: options.reasoning_effort,
1018
1019
  });
1019
1020
  for await (event of resp) {
1020
1021
  event = event?.choices?.[0] || {};
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.74",
4
+ "version": "1999.1.75",
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.74",
4
+ "version": "1999.1.75",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",