Skip to content

Commit

Permalink
Remove working_dir (#857)
Browse files Browse the repository at this point in the history
# Description

Remove working_dir parameter.

# All Promptflow Contribution checklist:
- [ ] **The pull request does not introduce [breaking changes].**
- [ ] **CHANGELOG is updated for new features, bug fixes or other
significant changes.**
- [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).**
- [ ] **Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: [suggested
workflow](../CONTRIBUTING.md#suggested-workflow).**

## General Guidelines and Best Practices
- [ ] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, [see this
page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### Testing Guidelines
- [ ] Pull request includes test coverage for the included changes.
  • Loading branch information
Hhhilulu authored Oct 23, 2023
1 parent 7a0d164 commit 8dfb81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/promptflow/promptflow/executor/flow_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def load_and_exec_node(
)

inputs_with_default_value = FlowExecutor._apply_default_value_for_input(flow.inputs, flow_inputs)
inputs = load_multimedia_data(flow.inputs, inputs_with_default_value, working_dir)
inputs = load_multimedia_data(flow.inputs, inputs_with_default_value)
dependency_nodes_outputs = load_multimedia_data_recursively(dependency_nodes_outputs)
converted_flow_inputs_for_node = FlowValidator.convert_flow_inputs_for_node(flow, node, inputs)
package_tool_keys = [node.source.tool] if node.source and node.source.tool else []
Expand Down

0 comments on commit 8dfb81a

Please sign in to comment.