Added new feature as /metadata api in teal agents for v1 and v3 with the agent info#216
Open
chaitu237 wants to merge 2 commits into
Open
Added new feature as /metadata api in teal agents for v1 and v3 with the agent info#216chaitu237 wants to merge 2 commits into
chaitu237 wants to merge 2 commits into
Conversation
michaelTurnbach
previously approved these changes
Mar 17, 2026
Collaborator
|
please make sure all lint checks pass |
Author
|
Please review the latest commit with fixed lint issues |
53ccbf0 to
c9026d5
Compare
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.
Description
Added a new /metadata endpoint to AppV1 and AppV3 agents that returns the agent's name, description, model, and available plugins. This gives a quick way to inspect agent capabilities at runtime.
Changes
Added AgentMetadata model, _safe_get() helper, _extract_metadata(), and get_metadata_routes() to utility_routes.py
Wired the metadata route into appv1.py and appv3.py
Added 32 new tests in test_utility_routes.py covering extraction logic, dict-based specs, and endpoint integration
Updated test_appv1.py and test_appv3.py for the new route
Set --no-cache as default Docker build flag in Makefile
Type of Change
Screenshots (if applicable)
Additional Comments
There is more information that can be added for better analysis in /metadata