diff --git a/src/backend/langflow/components/utilities/SearxSearchWrapper.py b/src/backend/langflow/components/utilities/SearxSearchWrapper.py index deaefe1a7..391e50401 100644 --- a/src/backend/langflow/components/utilities/SearxSearchWrapper.py +++ b/src/backend/langflow/components/utilities/SearxSearchWrapper.py @@ -1,4 +1,3 @@ - from langflow import CustomComponent from typing import Optional, Dict @@ -9,9 +8,10 @@ class SearxSearchWrapperComponent(CustomComponent): def build_config(self): return { "headers": { + "field_type":"dict", "display_name": "Headers", "multiline": True, - "default": '{"Authorization": "Bearer "}' + "value": '{"Authorization": "Bearer "}' }, } @@ -24,4 +24,4 @@ class SearxSearchWrapperComponent(CustomComponent): # Placeholder for actual SearxSearchWrapper instantiation # Since the actual SearxSearchWrapper class is not available, # it is assumed that it would be instantiated here with headers as an argument. - pass + pass \ No newline at end of file