AxAPIConfig
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/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 |