mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: remove mathjax
This commit is contained in:
parent
6f90c50116
commit
53ff4b653c
1 changed files with 0 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import plugin from '../../../lib/plugins/plugin.js'
|
||||
import _ from 'lodash'
|
||||
import { Config } from '../utils/config.js'
|
||||
import mjAPI from 'mathjax-node'
|
||||
import { v4 as uuid } from 'uuid'
|
||||
import delay from 'delay'
|
||||
import { ChatGPTAPI } from 'chatgpt'
|
||||
|
|
@ -22,12 +21,6 @@ const promptBlockWords = Config.promptBlockWords
|
|||
*/
|
||||
const CONVERSATION_PRESERVE_TIME = Config.conversationPreserveTime
|
||||
const defaultPropmtPrefix = 'You answer as concisely as possible for each response (e.g. don’t be verbose). It is very important that you answer as concisely as possible, so please remember this. If you are generating a list, do not have too many items. Keep the number of items short.'
|
||||
mjAPI.config({
|
||||
MathJax: {
|
||||
// traditional MathJax configuration
|
||||
}
|
||||
})
|
||||
mjAPI.start()
|
||||
|
||||
export class chatgpt extends plugin {
|
||||
constructor () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue