-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: feat: Added support for .yml extensions in C# SDK #11324
base: main
Are you sure you want to change the base?
.Net: feat: Added support for .yml extensions in C# SDK #11324
Conversation
Updated CreatePluginFromPromptDirectoryYaml to support files with both .yaml AND .yml extensions.
Looks like I forgot to push the change of removing the blank line to appease the formatter. I have pushed that change now. |
For some reason the format action still failed, for .Net 8 specifically. I ran |
Updated CreatePluginFromPromptDirectoryYaml to support files with both .yaml AND .yml extensions.
Motivation and Context
This fixes #11322 by adding support for the
.yml
file extensions when loading YAML files from a directory in the C# SDK.Description
Updated the
CreatePluginFromPromptDirectoryYaml
method to load files from the plugin directory twice. Once with the*.yaml
search pattern as before, and once with the*.yml
search pattern.Updated the tests to include a file with the
.yml
extension to ensure that the method works as expected and compatibility isn't lost in the future.Contribution Checklist