feat: support chatglm.cn

This commit is contained in:
ikechan8370 2024-01-17 13:06:59 +08:00
parent 8bdf9a3b6d
commit c69358cd80
7 changed files with 287 additions and 23 deletions

View file

@ -169,7 +169,8 @@ const defaultConfig = {
geminiPrompt: 'You are Gemini. Your answer shouldn\'t be too verbose. Prefer to answer in Chinese.',
// origin: https://generativelanguage.googleapis.com
geminiBaseUrl: 'https://gemini.ikechan8370.com',
version: 'v2.7.8'
chatglmRefreshToken: '',
version: 'v2.7.9'
}
const _path = process.cwd()
let config = {}