Commit eea9965
committed
Add Reset to Default buttons and improve system prompts with detailed tool usage instructions
- Added Reset to Default buttons for Actioner, Planner, and Coordinator prompts
- Completely rewrote default system prompts with comprehensive tool usage guides
- Actioner prompt now includes detailed examples, correct tool call formats, and common mistakes to avoid
- Added step-by-step workflow examples for common tasks (opening apps, clicking buttons, browser automation)
- Emphasized mandatory use of window handles for all keyboard/mouse operations
- Added visual formatting with emojis for better readability
- Planner prompt now includes iterative planning approach (one step at a time)
- Coordinator prompt updated with clearer routing guidelines
- All prompts now emphasize observation-first approach (CaptureWholeScreen before acting)
- Added static methods in ToolConfig to retrieve default prompts: GetDefaultActionerPrompt(), GetDefaultPlannerPrompt(), GetDefaultCoordinatorPrompt()
This should significantly improve the agents' ability to use tools correctly.1 parent c4df871 commit eea9965
3 files changed
Lines changed: 568 additions & 158 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
835 | 887 | | |
836 | 888 | | |
837 | 889 | | |
| |||
0 commit comments