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/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +2 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
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, [],
|
|
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