@ax-llm/ax 11.0.65 → 11.0.66
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/index.cjs +4 -4
- package/index.cjs.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -2442,7 +2442,7 @@ var AxAIOpenAIImpl = class {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
}
|
|
2445
|
-
if (config
|
|
2445
|
+
if (config?.thinkingTokenBudget) {
|
|
2446
2446
|
switch (config.thinkingTokenBudget) {
|
|
2447
2447
|
case "none":
|
|
2448
2448
|
reqValue.reasoning_effort = void 0;
|
|
@@ -3506,7 +3506,7 @@ var AxAIGoogleGeminiImpl = class {
|
|
|
3506
3506
|
if (this.config.thinking?.thinkingTokenBudget) {
|
|
3507
3507
|
thinkingConfig.thinkingBudget = this.config.thinking.thinkingTokenBudget;
|
|
3508
3508
|
}
|
|
3509
|
-
if (config
|
|
3509
|
+
if (config?.thinkingTokenBudget) {
|
|
3510
3510
|
switch (config.thinkingTokenBudget) {
|
|
3511
3511
|
case "none":
|
|
3512
3512
|
thinkingConfig.thinkingBudget = 0;
|
|
@@ -3529,8 +3529,8 @@ var AxAIGoogleGeminiImpl = class {
|
|
|
3529
3529
|
break;
|
|
3530
3530
|
}
|
|
3531
3531
|
}
|
|
3532
|
-
if (config
|
|
3533
|
-
if (config
|
|
3532
|
+
if (config?.showThoughts !== void 0) {
|
|
3533
|
+
if (config?.thinkingTokenBudget !== "none") {
|
|
3534
3534
|
thinkingConfig.includeThoughts = config.showThoughts;
|
|
3535
3535
|
}
|
|
3536
3536
|
}
|