@ax-llm/ax 15.0.12 → 15.0.13

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
@@ -1877,6 +1877,7 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
1877
1877
  private signatureToolCallingManager?;
1878
1878
  constructor(signature: NonNullable<ConstructorParameters<typeof AxSignature>[0]> | AxSignature<any, any>, options?: Readonly<AxProgramForwardOptions<any>>);
1879
1879
  setInstruction(instruction: string): void;
1880
+ getInstruction(): string | undefined;
1880
1881
  private getSignatureName;
1881
1882
  private getMetricsInstruments;
1882
1883
  updateMeter(meter?: Meter): void;
@@ -1950,7 +1951,9 @@ declare class AxPromptTemplate {
1950
1951
  private sig;
1951
1952
  private fieldTemplates?;
1952
1953
  private task;
1954
+ private customInstruction?;
1953
1955
  setInstruction(instruction: string): void;
1956
+ getInstruction(): string | undefined;
1954
1957
  private readonly thoughtFieldName;
1955
1958
  private readonly functions?;
1956
1959
  private readonly cacheSystemPrompt?;
@@ -2536,6 +2539,7 @@ declare class AxBaseAI<TModel, TEmbedModel, TChatRequest, TEmbedRequest, TChatRe
2536
2539
  }
2537
2540
 
2538
2541
  declare enum AxAIAnthropicModel {
2542
+ Claude45Opus = "claude-opus-4-5-20251101",
2539
2543
  Claude41Opus = "claude-opus-4-1-20250805",
2540
2544
  Claude4Opus = "claude-opus-4-20250514",
2541
2545
  Claude4Sonnet = "claude-sonnet-4-20250514",
@@ -2551,6 +2555,7 @@ declare enum AxAIAnthropicModel {
2551
2555
  ClaudeInstant12 = "claude-instant-1.2"
2552
2556
  }
2553
2557
  declare enum AxAIAnthropicVertexModel {
2558
+ Claude45Opus = "claude-opus-4-5@20251101",
2554
2559
  Claude41Opus = "claude-opus-4-1@20250805",
2555
2560
  Claude4Opus = "claude-opus-4@20250514",
2556
2561
  Claude45Sonnet = "claude-sonnet-4-5@20250929",
package/index.d.ts CHANGED
@@ -1877,6 +1877,7 @@ declare class AxGen<IN = any, OUT extends AxGenOut = any> extends AxProgram<IN,
1877
1877
  private signatureToolCallingManager?;
1878
1878
  constructor(signature: NonNullable<ConstructorParameters<typeof AxSignature>[0]> | AxSignature<any, any>, options?: Readonly<AxProgramForwardOptions<any>>);
1879
1879
  setInstruction(instruction: string): void;
1880
+ getInstruction(): string | undefined;
1880
1881
  private getSignatureName;
1881
1882
  private getMetricsInstruments;
1882
1883
  updateMeter(meter?: Meter): void;
@@ -1950,7 +1951,9 @@ declare class AxPromptTemplate {
1950
1951
  private sig;
1951
1952
  private fieldTemplates?;
1952
1953
  private task;
1954
+ private customInstruction?;
1953
1955
  setInstruction(instruction: string): void;
1956
+ getInstruction(): string | undefined;
1954
1957
  private readonly thoughtFieldName;
1955
1958
  private readonly functions?;
1956
1959
  private readonly cacheSystemPrompt?;
@@ -2536,6 +2539,7 @@ declare class AxBaseAI<TModel, TEmbedModel, TChatRequest, TEmbedRequest, TChatRe
2536
2539
  }
2537
2540
 
2538
2541
  declare enum AxAIAnthropicModel {
2542
+ Claude45Opus = "claude-opus-4-5-20251101",
2539
2543
  Claude41Opus = "claude-opus-4-1-20250805",
2540
2544
  Claude4Opus = "claude-opus-4-20250514",
2541
2545
  Claude4Sonnet = "claude-sonnet-4-20250514",
@@ -2551,6 +2555,7 @@ declare enum AxAIAnthropicModel {
2551
2555
  ClaudeInstant12 = "claude-instant-1.2"
2552
2556
  }
2553
2557
  declare enum AxAIAnthropicVertexModel {
2558
+ Claude45Opus = "claude-opus-4-5@20251101",
2554
2559
  Claude41Opus = "claude-opus-4-1@20250805",
2555
2560
  Claude4Opus = "claude-opus-4@20250514",
2556
2561
  Claude45Sonnet = "claude-sonnet-4-5@20250929",