mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-15 12:15:37 +08:00
feat: make the chat box display the correct model name, and allow multiple different models to be used at the same time (#49)
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
* @typedef {object} Session
|
||||
* @property {string|null} question
|
||||
* @property {Object[]|null} conversationRecords
|
||||
* @property {string|null} aiName
|
||||
* @property {string|null} modelName
|
||||
* @property {string|null} conversationId - chatGPT web mode
|
||||
* @property {string|null} messageId - chatGPT web mode
|
||||
* @property {string|null} parentMessageId - chatGPT web mode
|
||||
@@ -24,6 +26,8 @@ export function initSession({ question = null, conversationRecords = [] } = {})
|
||||
// common
|
||||
question,
|
||||
conversationRecords,
|
||||
aiName: null,
|
||||
modelName: null,
|
||||
|
||||
// chatgpt-web
|
||||
conversationId: null,
|
||||
|
||||
Reference in New Issue
Block a user