Skip to content

Commit 8132d3b

Browse files
xuanyang15copybara-github
authored andcommitted
chore: add instructions for the ADK release analyzer agent to sort the recommended changes and recommend API reference changes
PiperOrigin-RevId: 805099909
1 parent 43c9681 commit 8132d3b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • contributing/samples/adk_documentation/adk_release_analyzer

‎contributing/samples/adk_documentation/adk_release_analyzer/agent.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
- **File Paths:** Always use absolute paths when calling the tools to read files, list directories, or search the codebase.
104104
- **Tool Call Parallelism:** Execute multiple independent tool calls in parallel when feasible (i.e. searching the codebase).
105105
- **Explaination:** Provide concise explanations for your actions and reasoning for each step.
106+
- **Sorting:** Sort the recommended changes by the importance of the changes, from the most important to the least important.
107+
- Here are the importance groups: Feature changes > Bug fixes > Other changes.
108+
- Within each importance group, sort the changes by the number of files they affect.
109+
- Within each group of changes with the same number of files, sort by the number of lines changed in each file.
110+
- **API Reference Updates:** ADK Docs repository has auto-generated API reference docs for the ADK Python codebase, which can be found in the "/docs/api-reference/python" directory.
111+
- If a change in the codebase can be covered by the auto-generated API reference docs, you should just recommend to update the API reference docs (i.e. regenerate the API reference docs) instead of the other human-written ADK docs.
106112
107113
# 5. Output
108114
Present the followings in an easy to read format as the final output to the user.

0 commit comments

Comments
 (0)