mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
Bugfix/Follow up prompts status (#3341)
bugfixes of follow up prompts status, unauthroized error message and rate limit ui
This commit is contained in:
@@ -20,7 +20,9 @@ export const generateFollowUpPrompts = async (
|
||||
options: ICommonObject
|
||||
) => {
|
||||
if (followUpPromptsConfig) {
|
||||
if (!followUpPromptsConfig.status) return undefined
|
||||
const providerConfig = followUpPromptsConfig[followUpPromptsConfig.selectedProvider]
|
||||
if (!providerConfig) return undefined
|
||||
const credentialId = providerConfig.credentialId as string
|
||||
const credentialData = await getCredentialData(credentialId ?? '', options)
|
||||
const followUpPromptsPrompt = providerConfig.prompt.replace('{history}', apiMessageContent)
|
||||
|
||||
Reference in New Issue
Block a user