refactor: Add noMultiGen flag to requestChatDataMain functions

This commit is contained in:
kwaroran
2024-05-27 12:34:07 +09:00
parent 66bbee9918
commit f822765d95
4 changed files with 9 additions and 2 deletions

View File

@@ -264,7 +264,9 @@ export async function supaMemory(
]
const da = await requestChatData({
formated: promptbody,
bias: {}
bias: {},
useStreaming: false,
noMultiGen: true
}, 'submodel')
if(da.type === 'fail' || da.type === 'streaming' || da.type === 'multiline'){
return {