mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
feat: chaite 初始化逻辑
This commit is contained in:
parent
88312cdf38
commit
fbcf4e6c08
16 changed files with 549 additions and 1269 deletions
12
models/chaite/user_mode_selector.js
Normal file
12
models/chaite/user_mode_selector.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { AbstractUserModeSelector } from '../../../../../../../WebstormProjects/node-chaite/src/types/external.js'
|
||||
|
||||
export class ChatGPTUserModeSelector extends AbstractUserModeSelector {
|
||||
/**
|
||||
* 根据e判断当前要使用的预设,非常灵活。
|
||||
* @param e
|
||||
* @returns {Promise<import('chaite').ChatPreset>}
|
||||
*/
|
||||
getChatPreset (e) {
|
||||
// todo
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue