Skip to content

Commit

Permalink
fix: support setting variables in url (langgenius#10676)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxbyoyoyo authored Nov 30, 2024
1 parent f9c2aa7 commit e80f41a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/core/workflow/nodes/http_request/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def _extract_variable_selector_to_variable_mapping(
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:
Expand Down

0 comments on commit e80f41a

Please sign in to comment.