INNER CODE UNIT · TypeScript

AIRoom

xiangsx/gpt4free-ts · model/airoom/index.ts:172

export class AIRoom extends Chat {
  private pool: Pool<Account, Child> = new Pool(
    this.options?.name || '',
    () => Config.config.airoom.size,
    (info, options) => {
      return new Child(this.options?.name || '', info, options);
    },
    (v) => {
      if (!v.email || !v.password) {
        return false;
      }
      return true;
    },
    { delay: 1000, serial: () => Config.config.airoom.serial || 1 },
  );

  constructor(options?: ChatOptions) {
    super(options);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…