INNER CODE UNIT · TypeScript
n
xiangsx/gpt4free-ts · model/ails/index.ts:48
const n = e % 10;
const r = n % 2 === 0 ? n + 1 : n;
return String(e - n + r);
}
}
export class AILS extends Chat {
private client: AxiosInstance;
constructor(options?: ChatOptions) {
super(options);
this.client = CreateAxiosProxy(
{
baseURL: 'https://api.caipacity.com',
headers: {
authority: 'api.caipacity.com',
accept: '*/*',
'accept-language':