@llmgateway/ai-sdk-provider 2.3.1 → 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 +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +21 -0
- package/dist/internal/index.d.ts +21 -0
- package/dist/internal/index.js +6 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +6 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1372,7 +1372,9 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1372
1372
|
// LLMGateway specific settings:
|
|
1373
1373
|
include_reasoning: this.settings.includeReasoning,
|
|
1374
1374
|
reasoning: this.settings.reasoning,
|
|
1375
|
-
|
|
1375
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
1376
|
+
usage: this.settings.usage,
|
|
1377
|
+
image_config: this.settings.image_config
|
|
1376
1378
|
}, this.config.extraBody), this.settings.extraBody);
|
|
1377
1379
|
if ((responseFormat == null ? void 0 : responseFormat.type) === "json") {
|
|
1378
1380
|
if ("schema" in responseFormat && responseFormat.schema) {
|
|
@@ -2084,7 +2086,9 @@ var LLMGatewayCompletionLanguageModel = class {
|
|
|
2084
2086
|
prompt: completionPrompt,
|
|
2085
2087
|
// LLMGateway specific settings:
|
|
2086
2088
|
include_reasoning: this.settings.includeReasoning,
|
|
2087
|
-
reasoning: this.settings.reasoning
|
|
2089
|
+
reasoning: this.settings.reasoning,
|
|
2090
|
+
reasoning_effort: this.settings.reasoning_effort,
|
|
2091
|
+
image_config: this.settings.image_config
|
|
2088
2092
|
}, this.config.extraBody), this.settings.extraBody);
|
|
2089
2093
|
}
|
|
2090
2094
|
async doGenerate(options) {
|