Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/logspace-ai/langflow into ch…
Browse files Browse the repository at this point in the history
…ain_tests
  • Loading branch information
ogabrielluiz committed Apr 6, 2023
2 parents f492eed + 291269f commit 2fa8389
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 9 deletions.
57 changes: 52 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ openai = "^0.27.2"
types-pyyaml = "^6.0.12.8"
dill = "^0.3.6"
pandas = "^1.5.3"
huggingface-hub = "^0.13.3"
rich = "^13.3.3"

[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
ipykernel = "^6.21.2"
mypy = "^1.1.1"
ruff = "^0.0.254"
httpx = "^0.23.3"
rich = "^13.3.3"
pytest = "^7.2.2"
types-requests = "^2.28.11"
requests = "^2.28.0"
Expand Down
5 changes: 3 additions & 2 deletions src/backend/langflow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ llms:
- OpenAI
- AzureOpenAI
- ChatOpenAI
- HuggingFaceHub

tools:
- Search
# - Search
- PAL-MATH
- Calculator
- Serper Search
# - Serper Search
- Tool
- PythonFunction
- JsonSpec
Expand Down
3 changes: 2 additions & 1 deletion src/backend/langflow/template/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ def format_field(field: TemplateField, name: Optional[str] = None) -> None:
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
Expand Down

0 comments on commit 2fa8389

Please sign in to comment.