INNER CODE UNIT · TypeScript
AcyToo
xiangsx/gpt4free-ts · model/acytoo/index.ts:28
export class AcyToo extends Chat {
private client: AxiosInstance;
constructor(options?: ChatOptions) {
super(options);
this.client = CreateAxiosProxy({
baseURL: 'https://chat.acytoo.com',
headers: {
'Content-Type': 'text/plain;charset=UTF-8',
accept: '*/*',
'Cache-Control': 'no-cache',
'Proxy-Connection': 'keep-alive',
},
} as CreateAxiosDefaults);
}
support(model: ModelType): number {
switch (model) {