feat(bingai.js): add context and systemMessage parameters to askBing function

feat(conversationPreset.js): add context and systemMessage fields to conversation preset schema
feat(askBingAI.js): pass context and systemMessage parameters to ask function
feat(Settings.jsx): add toneStyle prop to BingAISettings component
feat(BingAIOptions/index.jsx): add useEffect to check if advanced mode is needed
feat(cleanupPreset.js): add context and systemMessage fields to cleaned up preset object
feat(getDefaultConversation.js): add context and systemMessage fields to default conversation object
feat(handleSubmit.js): add context and systemMessage fields to message object
This commit is contained in:
Danny Avila 2023-04-04 12:53:41 -04:00
parent 3484ff687d
commit bb75b6df3b
9 changed files with 37 additions and 9 deletions

View file

@ -55,6 +55,14 @@ module.exports = {
type: String,
default: null
},
context: {
type: String,
default: null
},
systemMessage: {
type: String,
default: null
},
clientId: {
type: String,
default: null