@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
|
@@ -43,6 +43,11 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
|
|
|
43
43
|
* @deprecated use `reasoning` instead
|
|
44
44
|
*/
|
|
45
45
|
includeReasoning?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Reasoning effort level for models that support it.
|
|
48
|
+
* Controls the computational effort applied to reasoning tasks.
|
|
49
|
+
*/
|
|
50
|
+
reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
46
51
|
extraBody?: Record<string, unknown>;
|
|
47
52
|
/**
|
|
48
53
|
* Enable usage accounting to get detailed token usage information.
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
|
|
|
43
43
|
* @deprecated use `reasoning` instead
|
|
44
44
|
*/
|
|
45
45
|
includeReasoning?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Reasoning effort level for models that support it.
|
|
48
|
+
* Controls the computational effort applied to reasoning tasks.
|
|
49
|
+
*/
|
|
50
|
+
reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
46
51
|
extraBody?: Record<string, unknown>;
|
|
47
52
|
/**
|
|
48
53
|
* Enable usage accounting to get detailed token usage information.
|
package/dist/internal/index.js
CHANGED
|
@@ -1362,6 +1362,7 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1362
1362
|
// LLMGateway specific settings:
|
|
1363
1363
|
include_reasoning: this.settings.includeReasoning,
|
|
1364
1364
|
reasoning: this.settings.reasoning,
|
|
1365
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
1365
1366
|
usage: this.settings.usage,
|
|
1366
1367
|
image_config: this.settings.image_config
|
|
1367
1368
|
}, this.config.extraBody), this.settings.extraBody);
|
|
@@ -2076,6 +2077,7 @@ var LLMGatewayCompletionLanguageModel = class {
|
|
|
2076
2077
|
// LLMGateway specific settings:
|
|
2077
2078
|
include_reasoning: this.settings.includeReasoning,
|
|
2078
2079
|
reasoning: this.settings.reasoning,
|
|
2080
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
2079
2081
|
image_config: this.settings.image_config
|
|
2080
2082
|
}, this.config.extraBody), this.settings.extraBody);
|
|
2081
2083
|
}
|