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