INNER CODE UNIT · TypeScript
Airops
xiangsx/gpt4free-ts · model/airops/index.ts:350
export class Airops extends Chat {
private pool: Pool<Account, Child> = new Pool(
this.options?.name || '',
() => Config.config.airops.size,
(info, options) => {
return new Child(this.options?.name || '', info, options);
},
(v) => {
return !!v.api_key && !!v.app_uuid && v.left >= 5;
},
{
delay: 1000,
serial: 1,
},
);
constructor(options?: ChatOptions) {
super(options);
}