Add field type for headers in SearxSearchWrapperComponent
This commit is contained in:
parent
5cc8afc557
commit
7611ec7f94
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
from langflow import CustomComponent
|
from langflow import CustomComponent
|
||||||
from typing import Optional, Dict
|
from typing import Optional, Dict
|
||||||
|
|
||||||
|
|
@ -9,9 +8,10 @@ class SearxSearchWrapperComponent(CustomComponent):
|
||||||
def build_config(self):
|
def build_config(self):
|
||||||
return {
|
return {
|
||||||
"headers": {
|
"headers": {
|
||||||
|
"field_type":"dict",
|
||||||
"display_name": "Headers",
|
"display_name": "Headers",
|
||||||
"multiline": True,
|
"multiline": True,
|
||||||
"default": '{"Authorization": "Bearer <token>"}'
|
"value": '{"Authorization": "Bearer <token>"}'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue