@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 CHANGED
@@ -2791,22 +2791,6 @@ type LLMGatewayProviderOptions = {
2791
2791
  } | {
2792
2792
  effort: 'high' | 'medium' | 'low';
2793
2793
  });
2794
- /**
2795
- * Image generation configuration for supported models (e.g., Google's image generation models).
2796
- * Specifies aspect ratio and image resolution for generated images.
2797
- */
2798
- image_config?: {
2799
- /**
2800
- * The aspect ratio of the generated image.
2801
- * Examples: "1:1", "16:9", "4:3", "5:4"
2802
- */
2803
- aspect_ratio?: string;
2804
- /**
2805
- * The resolution of the generated image.
2806
- * Options: "1K" (1024x1024), "2K" (2048x2048), "4K"
2807
- */
2808
- image_size?: string;
2809
- };
2810
2794
  /**
2811
2795
  * A unique identifier representing your end-user, which can
2812
2796
  * help LLMGateway to monitor and detect abuse.
package/dist/index.d.ts CHANGED
@@ -2791,22 +2791,6 @@ type LLMGatewayProviderOptions = {
2791
2791
  } | {
2792
2792
  effort: 'high' | 'medium' | 'low';
2793
2793
  });
2794
- /**
2795
- * Image generation configuration for supported models (e.g., Google's image generation models).
2796
- * Specifies aspect ratio and image resolution for generated images.
2797
- */
2798
- image_config?: {
2799
- /**
2800
- * The aspect ratio of the generated image.
2801
- * Examples: "1:1", "16:9", "4:3", "5:4"
2802
- */
2803
- aspect_ratio?: string;
2804
- /**
2805
- * The resolution of the generated image.
2806
- * Options: "1K" (1024x1024), "2K" (2048x2048), "4K"
2807
- */
2808
- image_size?: string;
2809
- };
2810
2794
  /**
2811
2795
  * A unique identifier representing your end-user, which can
2812
2796
  * help LLMGateway to monitor and detect abuse.
package/dist/index.js CHANGED
@@ -1407,8 +1407,7 @@ var LLMGatewayChatLanguageModel = class {
1407
1407
  // LLMGateway specific settings:
1408
1408
  include_reasoning: this.settings.includeReasoning,
1409
1409
  reasoning: this.settings.reasoning,
1410
- usage: this.settings.usage,
1411
- image_config: this.settings.image_config
1410
+ usage: this.settings.usage
1412
1411
  }, this.config.extraBody), this.settings.extraBody);
1413
1412
  if ((responseFormat == null ? void 0 : responseFormat.type) === "json") {
1414
1413
  if ("schema" in responseFormat && responseFormat.schema) {
@@ -2120,8 +2119,7 @@ var LLMGatewayCompletionLanguageModel = class {
2120
2119
  prompt: completionPrompt,
2121
2120
  // LLMGateway specific settings:
2122
2121
  include_reasoning: this.settings.includeReasoning,
2123
- reasoning: this.settings.reasoning,
2124
- image_config: this.settings.image_config
2122
+ reasoning: this.settings.reasoning
2125
2123
  }, this.config.extraBody), this.settings.extraBody);
2126
2124
  }
2127
2125
  async doGenerate(options) {