509 Commits

Author SHA1 Message Date
bobo
025858a231 feat: Implement Chinese language support in workflows
- Removed explicit language parameter for commit commands
- Introduced language detection and bilingual messages
- Deleted specific Chinese command file for streamlined approach
2024-04-01 20:46:25 +08:00
Tim
c1ce229c64
Merge pull request #85 from devchat-ai/fix_input_field_error
Enhance Non-Selection Behavior and Validate Selection Across Modules
2024-04-01 19:04:41 +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
ceb280012d
Merge pull request #84 from devchat-ai/docs/add-input-field-desc-#312
feat: add fix/comments workflow
2024-03-30 00:51:55 +08:00
Rankin Zheng
3a0600ae9e feat: add fix/comments workflow 2024-03-30 00:46:08 +08:00
Rankin Zheng
e3cb0725a0
Merge pull request #82 from devchat-ai/docs/add-input-field-desc-#312
Update Workflow Command Documentation to Include 'input' Field Descriptions
2024-03-30 00:41:37 +08:00
Rankin Zheng
ad4c2310d3 feat: add more readme file 2024-03-30 00:39:47 +08:00
Rankin Zheng
e9cac56372 feat:move refact.name to refactor readme file 2024-03-30 00:34:37 +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
Tim
355686d280
Merge pull request #81 from devchat-ai/enhancement/workflow-recommendations-setup-#304
Add Configuration File for Workflow Recommendations
2024-03-27 20:28:41 +08:00
bobo
8ea2e832bc Update workflow in configuration.toml 2024-03-26 16:40:05 +08:00
bobo
e190aeda25 feat: Add recommended workflows config file
- Created a new configuration.toml for workflow recommendations
- Populated the file with initial recommended workflows
- Ensured proper formatting for easy accessibility
2024-03-26 14:29:04 +08:00
Rankin Zheng
1219dc8fd1
Merge pull request #80 from devchat-ai/remove_release_notes
remove release notes workflow.
2024-03-26 11:48:36 +08:00
boob.yang
84c7596837
remove release notes workflow. 2024-03-26 10:30:11 +08:00
Tim
9dead9b3cf
Merge pull request #79 from devchat-ai/prompt-improvement
Make test case descriptions concise
2024-03-19 11:15:37 +08:00
kagami
6c9bf72a13 Add comment for switching back to gpt3.5 2024-03-19 10:57:29 +08:00
kagami
1ef0bff393 Make test case descriptions concise 2024-03-19 10:57:29 +08:00
Tim
0da8287ad9
Merge pull request #78 from devchat-ai/prompt-improvement
Improve the principles for writing tests
2024-03-18 10:04:02 +08:00
kagami
1896c2b933 Improve the principles for writing tests 2024-03-18 09:30:11 +08:00
Tim
bee6f21535
Merge pull request #77 from devchat-ai/fix-typo
Fix typo
2024-03-15 19:00:07 +08:00
kagami
ef4ea025a9 Fix typo 2024-03-15 17:01:22 +08:00
boob.yang
f753fb7bb2
Merge pull request #76 from devchat-ai/context-info
Show additional context info in summary
2024-03-15 16:56:57 +08:00
kagami
ef6554df5a Update i18n translations 2024-03-15 16:45:30 +08:00
kagami
4fb3b79ebe Print additional context in summary 2024-03-15 16:39:08 +08:00
kagami
e7b3a66ab6 Add range for Context 2024-03-15 16:03:18 +08:00
kagami
6a1fdc829e Use gpt4-turbo for unit_tests as default 2024-03-15 15:21:51 +08:00
boob.yang
ccc1d97c90
Merge pull request #75 from devchat-ai/switch-model
Use env var `DEVCHAT_UNIT_TESTS_USE_USER_MODEL` to switch to user selected model for `/unit_tests`
2024-03-13 14:34:57 +08:00
kagami
c44891a39f Handle token budget when recommend test context 2024-03-13 11:50:27 +08:00
kagami
3b1b24e1b2 Update context size for models 2024-03-13 11:50:27 +08:00
kagami
4b756f7908 Improve the usage of the wrapped api 2024-03-13 11:50:27 +08:00
kagami
48441e2514 Be able to switch between openai api & wrapped api 2024-03-13 11:50:27 +08:00
kagami
bfa4198ba2 Add llm config 2024-03-13 11:50:27 +08:00
Tim
874da1710f
Merge pull request #74 from devchat-ai/refactor/preserve-function-code-docs-#290
Fix Issue with Large Models Dropping Function Code When Adding Docstrings
2024-03-12 18:09:21 +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
boob.yang
079faae3a6
Merge pull request #73 from devchat-ai/user-requirements
Allow user to add customized requirements for writing tests
2024-03-12 09:52:54 +08:00
kagami
a55565161c Prevent conflicts between make targets and files 2024-03-12 08:51:33 +08:00
kagami
50ed9b35d1 Update i18n translations 2024-03-12 08:51:33 +08:00
kagami
991267e9d6 Cache user requirement of tests for each repo 2024-03-12 08:51:33 +08:00
kagami
8d32101c80 Allow use to add customized requirements for tests 2024-03-12 08:51:33 +08:00
boob.yang
db6b2f4b4c
Merge pull request #67 from devchat-ai/symbol-context
Add more context for writing tests by analyzing symbols
2024-03-12 07:56:57 +08:00
kagami
1d9cc2f85a Include file path info in Context 2024-03-11 22:18:00 +08:00
kagami
f13ae6530b Fix format issue 2024-03-11 22:18:00 +08:00
kagami
fccfcafe98 Improve finding context by both definition & type definition 2024-03-11 22:18:00 +08:00
kagami
0196eb019f Reorder steps in unit test workflow 2024-03-11 22:18:00 +08:00
kagami
9107b1e963 Use context informations when propose cases 2024-03-11 22:18:00 +08:00
kagami
77dead7745 Add find_def_locations in IDE Service 2024-03-11 22:18:00 +08:00
kagami
26d2a91192 Improve lint issues 2024-03-11 22:18:00 +08:00