Fix import_semantic_skill_from_directory#236
Conversation
|
@microsoft-github-policy-service agree |
|
@jjhenkel could you take a look? |
|
So I also found an issue in the kernel.py here in the same code path. If the I can go ahead and fix it with a revision in this PR since it's fairly tangential to this change or open another? Option 1: Option 2 (preferred): |
|
Thanks for all this @renrut, I agree w/ Option 2 and will take a look at this PR when that's in (looks great now, don't anticipate any changes). This was a path I never tested in the original port (loading skills from a directory) so I really appreciate your help here! Thanks for the insights, the fixes, and generally looking through things and finding what's wrong!! |
…backends if none provided.
|
@jjhenkel no worries it's a lot of code to port over! Happy to fix. Change should be present now. |
alexchaomander
left a comment
There was a problem hiding this comment.
Looks good to me! Thanks for adding these changes!
jjhenkel
left a comment
There was a problem hiding this comment.
Looks good to me, thanks again! (Sorry for the delay here, thanks for that additional fix!)
|
Sweet. I'm not authorized to merge, so I assume one of you all will. |
### Motivation and Context This PR fixes #235 and adds a test for the functionality. This is ahead of the planning skill. ### Description 1. Fix to fix the typo in the `from_dict()` method in `prompt_template_config.py` 2. Add assignment back to skill config so results from JSON aren't discarded in `import_semantic_skill_from_directory.py` 3. Add tests
### Motivation and Context This PR fixes #235 and adds a test for the functionality. This is ahead of the planning skill. ### Description 1. Fix to fix the typo in the `from_dict()` method in `prompt_template_config.py` 2. Add assignment back to skill config so results from JSON aren't discarded in `import_semantic_skill_from_directory.py` 3. Add tests
### Motivation and Context This PR fixes #235 and adds a test for the functionality. This is ahead of the planning skill. ### Description 1. Fix to fix the typo in the `from_dict()` method in `prompt_template_config.py` 2. Add assignment back to skill config so results from JSON aren't discarded in `import_semantic_skill_from_directory.py` 3. Add tests
### Motivation and Context This PR fixes microsoft#235 and adds a test for the functionality. This is ahead of the planning skill. ### Description 1. Fix to fix the typo in the `from_dict()` method in `prompt_template_config.py` 2. Add assignment back to skill config so results from JSON aren't discarded in `import_semantic_skill_from_directory.py` 3. Add tests
Motivation and Context
This PR fixes #235 and adds a test for the functionality. This is ahead of the planning skill.
Description
from_dict()method inprompt_template_config.pyimport_semantic_skill_from_directory.pyContribution Checklist
dotnet format