mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 11:01:18 +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)
|
const docStoreOption = documentStoreOptions.find((ds) => ds.name === selectedDocumentStores[i].id)
|
||||||
// convert to small case and replace space with underscore
|
// convert to small case and replace space with underscore
|
||||||
const name = (docStoreOption?.label || '').toLowerCase().replace(/ /g, '_')
|
const name = (docStoreOption?.label || '').toLowerCase().replace(/ /g, '_')
|
||||||
const desc = docStoreOption?.description || ''
|
const desc = selectedDocumentStores[i].description || docStoreOption?.description || ''
|
||||||
|
|
||||||
set(retrieverToolNodeData, 'inputs', {
|
set(retrieverToolNodeData, 'inputs', {
|
||||||
name,
|
name,
|
||||||
|
|||||||
Reference in New Issue
Block a user