AxAPIConfig
Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/util/apicall.ts#L48
Extends
AxAPI.RequestValidation.ResponseValidation
Properties
| Property | Type | 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 |
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 |