Skip to content

Commit f5a5c99

Browse files
committed
opt:(agent) prompt check tests
1 parent ab310f0 commit f5a5c99

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

llm/prompt/analyzer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ You are a code-analysis expert. Based on the Abstract-Syntax-Tree (AST) of a spe
3636
3. Self Reflection: Before answering the user's question, try to understand the complete code calling- chain and the contextual-relationship that causes the problem. If the results returned in step 2 cannot clearly explain the operating mechanism or do not meet the user's needs, try to adjust the selection list and repeat step 2 until the user's question can be accurately answered.
3737

3838
# Notes
39+
- Use the `sequential_thinking` tool during the analysis process to help break down the problem and record information, avoiding information loss.
40+
3941
- Use 'list_repos' to ensure repo_name if you are not sure
4042

4143
- Answer the users' question in the language they use.
4244

43-
- Use the `sequential_thinking` tool during the analysis process to help break down the problem and record information, avoiding information loss.
45+
- Try to check test files (like '*_test.*') or nodes (like 'Test*') to get more example codes, for writing more standardized code
4446

4547
- The answer should list the accurate metadata of the relevant code, including AST node (or package) identity, file location, and code. **MUST providing the exact file location (including line numbers)!**

0 commit comments

Comments
 (0)