Skip to content

Commit 924393b

Browse files
committed
fix: rapid request don't read settings, link #55
1 parent b9ae7d3 commit 924393b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logics/conversation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const handlePrompt = async(conversation: Conversation, prompt?: string, s
8888
if (providerResponse && bot.type === 'chat_continuous' && !conversation.name) {
8989
const inputText = conversation.systemInfo || prompt!
9090
const rapidPayload = generateRapidProviderPayload(promptHelper.summarizeText(inputText), provider.id)
91-
const generatedTitle = await getProviderResponse(provider.id, rapidPayload).catch(() => {}) as string || inputText
91+
const generatedTitle = await getProviderResponse(provider.id, rapidPayload, { caller: callMethod }).catch(() => {}) as string || inputText
9292
updateConversationById(conversation.id, {
9393
name: generatedTitle.replace(/^['"\s]+|['"\s]+$/g, ''),
9494
})

0 commit comments

Comments
 (0)