Bugfix/add hidden properties to custom tool (#3875)

add hidden properties to custom tool
This commit is contained in:
Henry Heng
2025-01-15 13:43:58 +00:00
committed by GitHub
parent ef96b57303
commit 62d5d1e8ef
2 changed files with 27 additions and 3 deletions
+2 -2
View File
@@ -1067,12 +1067,12 @@ export const replaceInputsWithConfig = (
* Several conditions:
* 1. If config is 'analytics', always allow it
* 2. If config is 'vars', check its object and filter out the variables that are not enabled for override
* 3. If typeof config is an object, check if the node id is in the overrideConfig object and if the parameter (systemMessagePrompt) is enabled
* 3. If typeof config's value is an object, check if the node id is in the overrideConfig object and if the parameter (systemMessagePrompt) is enabled
* Example:
* "systemMessagePrompt": {
* "chatPromptTemplate_0": "You are an assistant"
* }
* 4. If typeof config is a string, check if the parameter is enabled
* 4. If typeof config's value is a string, check if the parameter is enabled
* Example:
* "systemMessagePrompt": "You are an assistant"
*/