mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-05 12:50:41 +08:00
automatically adapt different models' context length
This commit is contained in:
@@ -232,7 +232,7 @@ async function prepareForRightClickMenu() {
|
||||
const menuItem = menuConfig[data.itemId]
|
||||
if (!menuItem.genPrompt) return
|
||||
else prompt = await menuItem.genPrompt()
|
||||
if (prompt) prompt = cropText(`Reply in ${await getPreferredLanguage()}.\n` + prompt)
|
||||
if (prompt) prompt = await cropText(`Reply in ${await getPreferredLanguage()}.\n` + prompt)
|
||||
}
|
||||
|
||||
const position = data.useMenuPosition
|
||||
|
||||
Reference in New Issue
Block a user