fix: 默认使用gpt4
このコミットが含まれているのは:
コミット
c9465bba91
|
@ -87,11 +87,8 @@ export class Forefrontnew extends Chat {
|
|||
console.log('try save cookie');
|
||||
console.log('save cookie successfully')
|
||||
} finally {
|
||||
const se = await this.page.$('#model-select');
|
||||
if (se) {
|
||||
await this.page.click('#model-select');
|
||||
await this.page.select('#model-select', 'gpt-4')
|
||||
}
|
||||
await this.page.waitForSelector('.absolute > .shadow > .w-full:nth-child(2) > .flex > .font-medium',{timeout:100000});
|
||||
await this.page.click('.absolute > .shadow > .w-full:nth-child(2) > .flex > .font-medium');
|
||||
}
|
||||
console.log('try to find input');
|
||||
await this.page.waitForSelector('.relative > .flex > .w-full > .text-th-primary-dark > div', {
|
||||
|
|
|
@ -14,7 +14,7 @@ export class FreeBrowser {
|
|||
|
||||
constructor(id: string, options?: PuppeteerLaunchOptions) {
|
||||
this.options = {
|
||||
userDataDir: path.join(runPath, id),
|
||||
// userDataDir: path.join(runPath, id),
|
||||
...options
|
||||
};
|
||||
this.id = id;
|
||||
|
|
読み込み中…
新しいイシューから参照