@llmgateway/ai-sdk-provider 2.5.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.
@@ -2818,11 +2802,6 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
2818
2802
  * @deprecated use `reasoning` instead
2819
2803
  */
2820
2804
  includeReasoning?: boolean;
2821
- /**
2822
- * Reasoning effort level for models that support it.
2823
- * Controls the computational effort applied to reasoning tasks.
2824
- */
2825
- reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
2826
2805
  extraBody?: Record<string, unknown>;
2827
2806
  /**
2828
2807
  * Enable usage accounting to get detailed token usage information.
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.
@@ -2818,11 +2802,6 @@ type LLMGatewaySharedSettings = LLMGatewayProviderOptions & {
2818
2802
  * @deprecated use `reasoning` instead
2819
2803
  */
2820
2804
  includeReasoning?: boolean;
2821
- /**
2822
- * Reasoning effort level for models that support it.
2823
- * Controls the computational effort applied to reasoning tasks.
2824
- */
2825
- reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high';
2826
2805
  extraBody?: Record<string, unknown>;
2827
2806
  /**
2828
2807
  * Enable usage accounting to get detailed token usage information.
package/dist/index.js CHANGED
@@ -1407,9 +1407,7 @@ var LLMGatewayChatLanguageModel = class {
1407
1407
  // LLMGateway specific settings:
1408
1408
  include_reasoning: this.settings.includeReasoning,
1409
1409
  reasoning: this.settings.reasoning,
1410
- reasoning_effort: this.settings.reasoning_effort,
1411
- usage: this.settings.usage,
1412
- image_config: this.settings.image_config
1410
+ usage: this.settings.usage
1413
1411
  }, this.config.extraBody), this.settings.extraBody);
1414
1412
  if ((responseFormat == null ? void 0 : responseFormat.type) === "json") {
1415
1413
  if ("schema" in responseFormat && responseFormat.schema) {
@@ -2121,9 +2119,7 @@ var LLMGatewayCompletionLanguageModel = class {
2121
2119
  prompt: completionPrompt,
2122
2120
  // LLMGateway specific settings:
2123
2121
  include_reasoning: this.settings.includeReasoning,
2124
- reasoning: this.settings.reasoning,
2125
- reasoning_effort: this.settings.reasoning_effort,
2126
- image_config: this.settings.image_config
2122
+ reasoning: this.settings.reasoning
2127
2123
  }, this.config.extraBody), this.settings.extraBody);
2128
2124
  }
2129
2125
  async doGenerate(options) {