Changing the readme tool to use Timo's MicroAgent framework#11796
Merged
richardpark-msft merged 6 commits intoAug 25, 2025
Conversation
…g the chance to refactor and thin out the ReadmeGeneratorTool class.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the ReadMe Generator Tool to use Timo's MicroAgent framework instead of directly using Azure OpenAI clients. The changes replace the traditional OpenAI chat completion approach with a more structured microagent-based system that includes built-in validation and iterative improvement capabilities.
- Replaced direct Azure OpenAI client usage with MicroAgent framework integration
- Extracted README generation logic into a separate
ReadmeGeneratorclass for better separation of concerns - Added structured validation through tool-based feedback loops using
FuncAdapterTool
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| ReadMeGeneratorTool.cs | Refactored to use MicroAgent framework, extracted generation logic to separate class, and improved validation approach |
| FuncAdapterTool.cs | New utility class for creating microagent tools from functions |
| ReadMeGeneratorToolTests.cs | Updated tests to mock MicroAgent service instead of OpenAI clients |
Member
Author
|
@timovv, I nominate you to review this particular one, as it hits a few areas that I know you care about:
|
benbp
reviewed
Aug 22, 2025
benbp
reviewed
Aug 22, 2025
benbp
approved these changes
Aug 22, 2025
timovv
approved these changes
Aug 22, 2025
…torTool.cs Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
…rror paths. - Add in more tests for the validation logic
timovv
approved these changes
Aug 25, 2025
danieljurek
pushed a commit
that referenced
this pull request
Aug 29, 2025
* Changing the readme tool to use Timo's MicroAgent framework and taking the chance to refactor and thin out the ReadmeGeneratorTool class. * Adding in a function adapter for agent tool * Adding some more tests for readme validation.
radhgupta
pushed a commit
to radhgupta/azure-sdk-tools
that referenced
this pull request
Sep 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also, some refactors to cleanup the internals of the generator. There's more work to do to allow it to support multiple languages, but one big change at a time. :)