11 Commits

Author SHA1 Message Date
bobo
dd716e4475 Refactor code and improve comments in main.py 2024-05-11 15:17:18 +08:00
bobo
ddd14faffa Refactor command.yml and rewrite.py for improved code readability and error handling 2024-05-11 15:07:50 +08:00
Rankin Zheng
fc192d3de6 fix: Add spacing to increase the distance between images. 2024-04-02 10:51:47 +08:00
Rankin Zheng
b66cfc9a4f feat: improve docstring workflow guide. 2024-04-02 09:36:06 +08:00
bobo
09d23d34a8 fix lint error 2024-04-01 16:55:10 +08:00
bobo
5395639347 fix: Improve selection validation logic across modules
- Changed the condition to determine selection absence by comparing start and end range instead of checking if text is empty.
- Ensures that a non-selection (where start and end range are the same) correctly triggers the absence of selection error.
- Applied this logic uniformly in comments, docstring, explain, fix, and refactor modules.
2024-04-01 16:46:47 +08:00
bobo
852706d25d feat: Display README when no code is selected
- Add feature to show README.md when no text is selected
- Modify all command and main modules to support this feature
- Remove 'input: required' from command.yml files for flexibility
2024-04-01 16:41:25 +08:00
Rankin Zheng
70c926166a Add workflow readme file 2024-03-30 00:32:22 +08:00
bobo
cc61a3e600 docs: Add input field descriptions to commands
- Include `input: required` in the YAML of various commands
- Clarify the necessity of user input in workflow executions
- Ensure workflow documentation is comprehensive and clear
2024-03-29 19:14:50 +08:00
bobo
7981a7e5bb refactor: Optimize docstring gen without visible code
- Remove references to current visible code in docstring generation
- Ensure large functions retain original code when adding docstrings
- Aim for minimal interference from visible code context in outputs
2024-03-12 16:41:13 +08:00
Luo Tim
95c29f8aac Add the new /docstring command 2024-03-08 11:28:13 +08:00