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