INNER CODE UNIT · TypeScript

AILS

xiangsx/gpt4free-ts · model/ails/index.ts:54

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',
          authorization: 'Bearer free',
          'client-id': v4(),
          'client-v': '0.1.249',
          'content-type': 'application/json',
          origin: 'https://ai.ls',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…