@ax-llm/ax 11.0.4 → 11.0.5

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/index.d.cts CHANGED
@@ -529,7 +529,7 @@ interface AxAIAnthropicArgs {
529
529
  region?: string;
530
530
  config?: Readonly<Partial<AxAIAnthropicConfig>>;
531
531
  options?: Readonly<AxAIServiceOptions>;
532
- models?: AxAIModelList<AxAIAnthropicModel>;
532
+ models?: AxAIModelList<AxAIAnthropicModel | AxAIAnthropicVertexModel>;
533
533
  }
534
534
  declare class AxAIAnthropic extends AxBaseAI<AxAIAnthropicModel | AxAIAnthropicVertexModel, unknown, AxAIAnthropicChatRequest, unknown, AxAIAnthropicChatResponse, AxAIAnthropicChatResponseDelta, unknown> {
535
535
  constructor({ apiKey, projectId, region, config, options, models, }: Readonly<Omit<AxAIAnthropicArgs, 'name'>>);
package/index.d.ts CHANGED
@@ -529,7 +529,7 @@ interface AxAIAnthropicArgs {
529
529
  region?: string;
530
530
  config?: Readonly<Partial<AxAIAnthropicConfig>>;
531
531
  options?: Readonly<AxAIServiceOptions>;
532
- models?: AxAIModelList<AxAIAnthropicModel>;
532
+ models?: AxAIModelList<AxAIAnthropicModel | AxAIAnthropicVertexModel>;
533
533
  }
534
534
  declare class AxAIAnthropic extends AxBaseAI<AxAIAnthropicModel | AxAIAnthropicVertexModel, unknown, AxAIAnthropicChatRequest, unknown, AxAIAnthropicChatResponse, AxAIAnthropicChatResponseDelta, unknown> {
535
535
  constructor({ apiKey, projectId, region, config, options, models, }: Readonly<Omit<AxAIAnthropicArgs, 'name'>>);