Skip to content

Conversation

@awharrison-28
Copy link
Contributor

@awharrison-28 awharrison-28 commented Aug 10, 2023

Motivation and Context

Initially called out and fixed by @joowon-dm-snu in #2223

This PR closes #2094

There was a bug in the Plan Object Model that propagates the name of the step parameter to the next step. It should be propagating the parameter's value

Description

In addition to making the code change to fix the bug, also added a unit test that covers the changed code.

Below image shows the before and after of the test with the fix.

image

Contribution Checklist

@awharrison-28 awharrison-28 requested a review from a team as a code owner August 10, 2023 00:20
@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Aug 10, 2023
@awharrison-28 awharrison-28 added bug Something isn't working python Pull requests for the Python Semantic Kernel labels Aug 10, 2023
@awharrison-28 awharrison-28 added this pull request to the merge queue Aug 10, 2023
Merged via the queue into microsoft:main with commit b9c77f4 Aug 10, 2023
@awharrison-28 awharrison-28 deleted the python/fix_planner_variable_propagation branch August 10, 2023 00:34
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
…#2388)

### Motivation and Context

Initially called out and fixed by @joowon-dm-snu in
microsoft#2223

This PR closes
[microsoft#2094](microsoft#2094)

There was a bug in the Plan Object Model that propagates the name of the
step parameter to the next step. It should be propagating the
parameter's value


### Description
In addition to making the code change to fix the bug, also added a unit
test that covers the changed code.

Below image shows the before and after of the test with the fix. 


![image](https://github.com/microsoft/semantic-kernel/assets/54643756/7217f42a-a2ac-4491-a709-bea9be7328e3)

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

Co-authored-by: Abby Harrison <abharris@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working python Pull requests for the Python Semantic Kernel

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Python: Plan Object Errors

3 participants