@llmgateway/ai-sdk-provider 2.4.0 → 2.5.0
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/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +5 -0
- package/dist/internal/index.d.ts +5 -0
- package/dist/internal/index.js +2 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2818,6 +2818,11 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
|
|
|
2818
2818
|
* @deprecated use `reasoning` instead
|
|
2819
2819
|
*/
|
|
2820
2820
|
includeReasoning?: boolean;
|
|
2821
|
+
/**
|
|
2822
|
+
* Reasoning effort level for models that support it.
|
|
2823
|
+
* Controls the computational effort applied to reasoning tasks.
|
|
2824
|
+
*/
|
|
2825
|
+
reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
2821
2826
|
extraBody?: Record<string, unknown>;
|
|
2822
2827
|
/**
|
|
2823
2828
|
* Enable usage accounting to get detailed token usage information.
|
package/dist/index.d.ts
CHANGED
|
@@ -2818,6 +2818,11 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
|
|
|
2818
2818
|
* @deprecated use `reasoning` instead
|
|
2819
2819
|
*/
|
|
2820
2820
|
includeReasoning?: boolean;
|
|
2821
|
+
/**
|
|
2822
|
+
* Reasoning effort level for models that support it.
|
|
2823
|
+
* Controls the computational effort applied to reasoning tasks.
|
|
2824
|
+
*/
|
|
2825
|
+
reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
2821
2826
|
extraBody?: Record<string, unknown>;
|
|
2822
2827
|
/**
|
|
2823
2828
|
* Enable usage accounting to get detailed token usage information.
|
package/dist/index.js
CHANGED
|
@@ -1407,6 +1407,7 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1407
1407
|
// LLMGateway specific settings:
|
|
1408
1408
|
include_reasoning: this.settings.includeReasoning,
|
|
1409
1409
|
reasoning: this.settings.reasoning,
|
|
1410
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
1410
1411
|
usage: this.settings.usage,
|
|
1411
1412
|
image_config: this.settings.image_config
|
|
1412
1413
|
}, this.config.extraBody), this.settings.extraBody);
|
|
@@ -2121,6 +2122,7 @@ var LLMGatewayCompletionLanguageModel = class {
|
|
|
2121
2122
|
// LLMGateway specific settings:
|
|
2122
2123
|
include_reasoning: this.settings.includeReasoning,
|
|
2123
2124
|
reasoning: this.settings.reasoning,
|
|
2125
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
2124
2126
|
image_config: this.settings.image_config
|
|
2125
2127
|
}, this.config.extraBody), this.settings.extraBody);
|
|
2126
2128
|
}
|