@llmgateway/ai-sdk-provider 2.3.0 → 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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- 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/internal/index.mjs
CHANGED
|
@@ -1327,7 +1327,8 @@ var LLMGatewayChatLanguageModel = class {
|
|
|
1327
1327
|
// LLMGateway specific settings:
|
|
1328
1328
|
include_reasoning: this.settings.includeReasoning,
|
|
1329
1329
|
reasoning: this.settings.reasoning,
|
|
1330
|
-
usage: this.settings.usage
|
|
1330
|
+
usage: this.settings.usage,
|
|
1331
|
+
image_config: this.settings.image_config
|
|
1331
1332
|
}, this.config.extraBody), this.settings.extraBody);
|
|
1332
1333
|
if ((responseFormat == null ? void 0 : responseFormat.type) === "json") {
|
|
1333
1334
|
if ("schema" in responseFormat && responseFormat.schema) {
|
|
@@ -2039,7 +2040,8 @@ var LLMGatewayCompletionLanguageModel = class {
|
|
|
2039
2040
|
prompt: completionPrompt,
|
|
2040
2041
|
// LLMGateway specific settings:
|
|
2041
2042
|
include_reasoning: this.settings.includeReasoning,
|
|
2042
|
-
reasoning: this.settings.reasoning
|
|
2043
|
+
reasoning: this.settings.reasoning,
|
|
2044
|
+
image_config: this.settings.image_config
|
|
2043
2045
|
}, this.config.extraBody), this.settings.extraBody);
|
|
2044
2046
|
}
|
|
2045
2047
|
async doGenerate(options) {
|