fix: removing tools until fixed

This commit is contained in:
Gabriel Almeida 2023-04-06 12:17:49 -03:00
commit 97ba3c1e62
2 changed files with 5 additions and 3 deletions

View file

@ -26,12 +26,13 @@ llms:
- OpenAI - OpenAI
- AzureOpenAI - AzureOpenAI
- ChatOpenAI - ChatOpenAI
- HuggingFaceHub
tools: tools:
- Search # - Search
- PAL-MATH - PAL-MATH
- Calculator - Calculator
- Serper Search # - Serper Search
- Tool - Tool
- PythonFunction - PythonFunction
- JsonSpec - JsonSpec

View file

@ -178,7 +178,8 @@ class FrontendNode(BaseModel):
field.show = bool( field.show = bool(
(field.required and key not in ["input_variables"]) (field.required and key not in ["input_variables"])
or key in FORCE_SHOW_FIELDS or key in FORCE_SHOW_FIELDS
or "api_key" in key or "api" in key
or "key" in key
) )
# Add password field # Add password field