You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python: Fixes Plan using an empty function in describe and incorrectly setting context variables for next steps. (microsoft#4673)
### Motivation and Context
This PR fixesmicrosoft#4658 and fixesmicrosoft#2933.
### Description
The first one basically needed a None check before using
`self._function` in the `Plan.describe` method.
The second one was incorrectly setting the values for variables for the
next step in the plan. The solution for this was suggested by
@amritpal-singh-98, thank you!
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [X] The code builds clean without any errors or warnings
- [X] 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
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
---------
Co-authored-by: Evan Mattson <[email protected]>
0 commit comments