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
Describe the bug
When using the kernel.CreatePluginFromPromptDirectoryYaml(...) method, if the files you are trying to load are using the .yml extension instead of .yaml, the files are not loaded.
To Reproduce
Create a valid YAML prompt template with a .yml extension in a folder
Try to create a plugin for that folder
Notice that the plugin is loaded without any functions
Expected behavior
Ideally, the method would support both file extensions since it is common for them to be used interchangeably. If supporting the .yml extension is out of the question, this behavior should be documented.
Screenshots
If applicable, add screenshots to help explain your problem.
github-actionsbot
changed the title
Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
.Net: Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
Apr 1, 2025
github-actionsbot
changed the title
.Net: Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
Python: Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
Apr 1, 2025
WretchedDade
changed the title
Python: Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
Bug: CreatePluginFromPromptDirectoryYaml doesn't support YAML files using .yml extensions
Apr 1, 2025
Describe the bug
When using the
kernel.CreatePluginFromPromptDirectoryYaml(...)
method, if the files you are trying to load are using the.yml
extension instead of.yaml
, the files are not loaded.To Reproduce
.yml
extension in a folderExpected behavior
Ideally, the method would support both file extensions since it is common for them to be used interchangeably. If supporting the
.yml
extension is out of the question, this behavior should be documented.Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Additional context
I haven't confirmed, but this behavior may exist in the non-C# versions of the SDK as well.
The text was updated successfully, but these errors were encountered: