@ax-llm/ax 15.0.18 → 15.0.19

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
@@ -23,6 +23,7 @@ interface AxAPIConfig extends AxAPI, RequestValidation, ResponseValidation {
23
23
  url?: string | URL;
24
24
  stream?: boolean;
25
25
  debug?: boolean;
26
+ verbose?: boolean;
26
27
  fetch?: typeof fetch;
27
28
  span?: Span;
28
29
  timeout?: number;
@@ -549,6 +550,7 @@ type AxLoggerData = {
549
550
  type AxLoggerFunction = (message: AxLoggerData) => void;
550
551
  type AxAIServiceOptions = {
551
552
  debug?: boolean;
553
+ verbose?: boolean;
552
554
  rateLimiter?: AxRateLimiterFunction;
553
555
  fetch?: typeof fetch;
554
556
  tracer?: Tracer;
@@ -2297,6 +2299,9 @@ type AxResultPickerFunction<OUT> = (data: AxResultPickerFunctionFieldResults<OUT
2297
2299
  type AxProgramForwardOptions<MODEL> = AxAIServiceOptions & {
2298
2300
  maxRetries?: number;
2299
2301
  maxSteps?: number;
2302
+ retryOnError?: {
2303
+ maxRetries?: number;
2304
+ };
2300
2305
  mem?: AxAIMemory;
2301
2306
  ai?: AxAIService;
2302
2307
  modelConfig?: AxModelConfig;
package/index.d.ts CHANGED
@@ -23,6 +23,7 @@ interface AxAPIConfig extends AxAPI, RequestValidation, ResponseValidation {
23
23
  url?: string | URL;
24
24
  stream?: boolean;
25
25
  debug?: boolean;
26
+ verbose?: boolean;
26
27
  fetch?: typeof fetch;
27
28
  span?: Span;
28
29
  timeout?: number;
@@ -549,6 +550,7 @@ type AxLoggerData = {
549
550
  type AxLoggerFunction = (message: AxLoggerData) => void;
550
551
  type AxAIServiceOptions = {
551
552
  debug?: boolean;
553
+ verbose?: boolean;
552
554
  rateLimiter?: AxRateLimiterFunction;
553
555
  fetch?: typeof fetch;
554
556
  tracer?: Tracer;
@@ -2297,6 +2299,9 @@ type AxResultPickerFunction<OUT> = (data: AxResultPickerFunctionFieldResults<OUT
2297
2299
  type AxProgramForwardOptions<MODEL> = AxAIServiceOptions & {
2298
2300
  maxRetries?: number;
2299
2301
  maxSteps?: number;
2302
+ retryOnError?: {
2303
+ maxRetries?: number;
2304
+ };
2300
2305
  mem?: AxAIMemory;
2301
2306
  ai?: AxAIService;
2302
2307
  modelConfig?: AxModelConfig;