Merge branch 'logspace-ai:main' into chatValidationReasons

This commit is contained in:
cayal 2023-04-06 18:01:55 +00:00 • committed by GitHub
commit e2ee222a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 9 deletions

View file

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

View file

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