Skip to content

Commit

Permalink
FIX: Use multiline input to allow chaining for query (langflow-ai#3964)
Browse files Browse the repository at this point in the history
  • Loading branch information
erichare authored and diogocabral committed Nov 26, 2024
1 parent 697e227 commit 7da7771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/base/langflow/components/tools/GleanSearchAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from langflow.base.langchain_utilities.model import LCToolComponent
from langflow.field_typing import Tool
from langflow.inputs import IntInput, NestedDictInput, SecretStrInput, StrInput
from langflow.inputs import IntInput, MultilineInput, NestedDictInput, SecretStrInput, StrInput
from langflow.schema import Data


Expand All @@ -25,7 +25,7 @@ class GleanSearchAPIComponent(LCToolComponent):
required=True,
),
SecretStrInput(name="glean_access_token", display_name="Glean Access Token", required=True),
StrInput(name="query", display_name="Query", required=True),
MultilineInput(name="query", display_name="Query", required=True),
IntInput(name="page_size", display_name="Page Size", value=10),
NestedDictInput(name="request_options", display_name="Request Options", required=False),
]
Expand Down

0 comments on commit 7da7771

Please sign in to comment.