mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-25 03:00:54 +03:00
Bugfix/Add tool description to custom assistant (#3727)
add tool description to custom assistant
This commit is contained in:
@@ -321,7 +321,7 @@ const CustomAssistantConfigurePreview = () => {
|
||||
const docStoreOption = documentStoreOptions.find((ds) => ds.name === selectedDocumentStores[i].id)
|
||||
// convert to small case and replace space with underscore
|
||||
const name = (docStoreOption?.label || '').toLowerCase().replace(/ /g, '_')
|
||||
const desc = docStoreOption?.description || ''
|
||||
const desc = selectedDocumentStores[i].description || docStoreOption?.description || ''
|
||||
|
||||
set(retrieverToolNodeData, 'inputs', {
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user