14 Commits

Author SHA1 Message Date
bobo.yang
946d9dcf25 fix lint errors 2025-03-11 14:24:28 +08:00
bobo.yang
4dcdcc65e6 disable stream output when refactor code 2025-03-11 13:43:17 +08:00
bobo.yang
5a0340e8e9 refactor: Clean up code structure and improve formatting
- Organize imports and remove unused imports
- Format code with consistent indentation and line breaks
- Remove empty lines and redundant whitespace
- Improve function parameter formatting for better readability
2025-03-07 13:00:43 +08:00
bobo.yang
021efac1d9 refactor: Update rewrite.py with Chinese prompts and symbol analysis
- Translate prompts to Chinese for better localization
- Add symbol analysis functionality to detect missing definitions
- Implement context code gathering for better refactoring results
- Add helper functions for project root detection and symbol definition lookup
2025-03-07 12:00:49 +08:00
bobo
ced0e1b111 update readme 2024-07-19 14:12:34 +08:00
bobo
780fe10a98 fix: Handle error cases and exit with non-zero status
- Added error handling to main functions in multiple modules
- Ensured sys.exit(1) is called when responses are not successful
- Improved robustness by checking response validity before proceeding
2024-06-18 18:21:25 +08:00
bobo
c770b55a6e Refactor prompt in main.py for improved readability 2024-05-13 15:36:58 +08:00
bobo
3b3fcaeef9 Refactor prompt in main.py for improved readability 2024-05-13 15:21:05 +08:00
bobo
e45956edde Refactor imports and remove duplicate code in main.py 2024-05-11 16:55:05 +08:00
bobo
13ac7c466a Refactor imports and remove duplicate code in main.py 2024-05-11 16:51:53 +08:00
bobo
1b4540a7a8 Refactor code and improve comments in main.py 2024-05-11 16:45:49 +08:00
bobo
0d610cfb31 Refactor command.yml and rewrite.py for improved code readability and error handling 2024-05-11 16:45:49 +08:00
kagami
f596f7729d Adjust refactor 2024-05-09 22:23:49 +08:00
kagami
db3fe4cbc6 Move the existing workflows to merico/ 2024-05-09 22:18:51 +08:00