@simpleplatform/sdk 1.0.2 → 1.0.3
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/ai.d.ts +1 -1
- package/dist/ai.js +1 -1
- package/package.json +2 -2
package/dist/ai.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface AICommonOptions {
|
|
|
80
80
|
prompt: string;
|
|
81
81
|
/**
|
|
82
82
|
* If true, forces the AI to provide a detailed, multi-step reasoning
|
|
83
|
-
* process in the generated output. Defaults to
|
|
83
|
+
* process in the generated output. Defaults to true.
|
|
84
84
|
*/
|
|
85
85
|
reasoning?: boolean;
|
|
86
86
|
/**
|
package/dist/ai.js
CHANGED
|
@@ -34,7 +34,7 @@ async function _uploadPendingFiles(obj, context) {
|
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
async function _executeAIOperation(operation, input, options, context) {
|
|
37
|
-
const { model, prompt, reasoning, reasoningBudget, regenerate = false, systemPrompt, temperature, timeout, } = options;
|
|
37
|
+
const { model, prompt, reasoning = true, reasoningBudget, regenerate = false, systemPrompt, temperature, timeout, } = options;
|
|
38
38
|
const processedInput = await _uploadPendingFiles(input, context);
|
|
39
39
|
// 1. Construct the universal options payload for caching and execution.
|
|
40
40
|
const universalOptions = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleplatform/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Simple Platform Typescript SDK",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.simple.dev",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"esbuild": "0.27.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@types/node": "25.0
|
|
67
|
+
"@types/node": "25.1.0",
|
|
68
68
|
"typescript": "5.9.3"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|