mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix: support setting variables in url
This commit is contained in:
parent
317ae9233e
commit
247e1cdcf3
|
@ -107,6 +107,7 @@ class HttpRequestNode(BaseNode[HttpRequestNodeData]):
|
|||
node_data: HttpRequestNodeData,
|
||||
) -> Mapping[str, Sequence[str]]:
|
||||
selectors: list[VariableSelector] = []
|
||||
selectors += variable_template_parser.extract_selectors_from_template(node_data.url)
|
||||
selectors += variable_template_parser.extract_selectors_from_template(node_data.headers)
|
||||
selectors += variable_template_parser.extract_selectors_from_template(node_data.params)
|
||||
if node_data.body:
|
||||
|
|
Loading…
Reference in New Issue
Block a user