INNER CODE UNIT · TypeScript
r
xiangsx/gpt4free-ts · model/ails/index.ts:49
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':
'en,fr-FR;q=0.9,fr;q=0.8,es-ES;q=0.7,es;q=0.6,en-US;q=0.5,am;q=0.4,de;q=0.3',