AxAPIConfig
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/util/apicall.ts#L48
Extends
AxAPI.RequestValidation.ResponseValidation
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
abortSignal? | AbortSignal | - | - |
corsProxy? | string | - | - |
debug? | boolean | - | - |
fetch? | { (input: URL | RequestInfo, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; } | - | - |
headers? | Record<string, string> | - | AxAPI.headers |
includeRequestBodyInErrors? | boolean | Whether to include request body in error messages. Defaults to true. Set to false when request may contain sensitive data or large base64 content. | - |
localCall? | <TRequest, TResponse>(data: TRequest, stream?: boolean) => Promise<TResponse | ReadableStream<TResponse>> | - | AxAPI.localCall |
name? | string | - | AxAPI.name |
put? | boolean | - | AxAPI.put |
retry? | Partial<RetryConfig> | - | - |
span? | Span | - | - |
stream? | boolean | - | - |
timeout? | number | - | - |
url? | string | URL | - | - |
validateRequest? | (request: unknown) => boolean | Promise<boolean> | - | RequestValidation.validateRequest |
validateResponse? | (response: unknown) => boolean | Promise<boolean> | - | ResponseValidation.validateResponse |
verbose? | boolean | - | - |