-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: Converted examples 52 and others to tests #4649
Conversation
@Krzysztof318 can you simplify this PR to remove all of the formatting changes? It will be easier to review and if we want to reformat the code that should be a seperate PR and the changes agreed with the team. I'd suggest creating an issue with the formatting changes you'd like to see. |
@markwallace-microsoft Hi, I can. Just need drop one commit. |
Updated the name of a private list variable in the AgentTools example to align with naming conventions. The 's_agents' name was adjusted to '_s_agents' and wherever this variable was used in the code, it has been replaced with its updated name.
The variable `_s_agents` has been renamed to `_agents`.
da4d6b1
to
33474c9
Compare
I think resharper settings are obsolete now. We use |
@markwallace-microsoft formatting commit dropped |
@dmytrostruk I understand but it would be good to adjust the resharper settings file to be equal with .editorconfig or remove it, it causes a lot of red flags in the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to run dotnet format
In multiple parts of the code, calls to `Console.WriteLine()` were replaced with `this.WriteLine()`.
I fixed other samples. Btw. Example74_FlowOrchestrator is not convertible to tests due to used Console.ReadLine |
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> PR microsoft#4526 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Converted examples 52 and 75 to tests Fix samples project files formatting based on common solution resharper settings. ### 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: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
Motivation and Context
PR #4526
Description
Converted examples 52 and 75 to tests
Fix samples project files formatting based on common solution resharper settings.
Contribution Checklist