kagami
c0f76e6811
Init command /expl_struct
2024-01-12 12:15:53 +08:00
boob.yang
a8969b0038
Merge pull request #34 from devchat-ai/chatmark-step
...
Implement Step in chatmark
2024-01-12 11:49:30 +08:00
kagami
254ddc9372
Use Step() in /unit_tests
2024-01-12 11:21:12 +08:00
kagami
c584b186e0
Implement chatmark Step
2024-01-12 11:12:12 +08:00
boob.yang
70d9db5084
Merge pull request #33 from devchat-ai/multi-ref
...
Support multiple reference files
2024-01-12 10:02:47 +08:00
kagami
9979f0c668
Update translations for multiple references
2024-01-12 09:03:34 +08:00
kagami
9c1bdf8053
Allow multiple reference files from user input
2024-01-11 21:35:17 +08:00
boob.yang
c0c26094ff
Merge pull request #32 from devchat-ai/activate-ut
...
Activate /unit_tests workflow
2024-01-10 11:41:22 +08:00
kagami
0ee7015758
Activate /unit_tests workflow
2024-01-10 10:39:10 +08:00
kagami
4f03a00910
Merge pull request #31 from devchat-ai/remove_commit_message_command
...
chore: Cleanup obsolete commit message automation files
2024-01-05 21:36:54 +08:00
bobo
e929049b68
chore: Remove commit message command
...
- Removed commit_message/command.yml
- Removed commit_message/prompt.txt
2024-01-05 20:14:04 +08:00
boob.yang
08b2246775
Merge pull request #30 from devchat-ai/clean-repo
...
Clean repo and sort "import" blocks
2024-01-05 13:26:37 +08:00
kagami
bca2507c2f
Sort and format import blocks
2024-01-05 12:27:57 +08:00
kagami
f90ef63606
Enable the isort rules
2024-01-05 12:24:50 +08:00
kagami
56aedf8793
Remove ui_utils/
2024-01-05 12:24:50 +08:00
kagami
13fe016f21
Merge pull request #28 from devchat-ai/enhance/form-button-labels
...
Enhance form and widget button label functionality
2024-01-05 12:02:12 +08:00
bobo
05d8e6dda7
format file
2024-01-05 12:01:01 +08:00
bobo
7d5887e98c
refactor: Enhance form and button label flexibility
...
- Make submit and cancel button labels optional in form and widgets
- Refactor chatmark header construction for conditional button labels
- Implement assertion for Radio widget's default_selected option
2024-01-05 12:01:01 +08:00
bobo
57da9e9841
style: Standardize button label parameters
...
- Add trailing commas to button name parameters in widgets
- Reformat constructor definitions for consistency
- Clean up unnecessary whitespace in widget render logic
2024-01-05 12:01:01 +08:00
bobo
69e178e7a7
feat: Implement default option selection in Radio
...
- Introduced the default_selected parameter in the Radio widget
- Updated Radio widget to mark default selected option visually
- Removed TODO comment for the default_selected implementation
2024-01-05 12:01:01 +08:00
bobo
21217d2bb7
feat: Add customizable button labels to forms and widgets
...
- Form and TextEditor classes now accept submit_button_name and cancel_button_name
- Widget's chatmark header updated with customizable submit and cancel labels
- Adjusted initialization of Checkbox and Radio classes with button label parameters
2024-01-05 12:01:01 +08:00
kagami
c5d4272cbb
Update message for TokenBudgetExceededException
2024-01-05 11:08:50 +08:00
kagami
7db4a678f4
Rafactor command interface to accept a single string only
2024-01-05 11:08:50 +08:00
kagami
7d3594c928
Merge pull request #16 from devchat-ai/ut-workflow
...
Implement `/unit_tests` workflow
2024-01-05 10:02:54 +08:00
kagami
824fa014b2
Rename command.yml to avoid releasing
2024-01-04 17:19:08 +08:00
kagami
5ab2749aa8
Update i18n for new strings
2024-01-04 17:19:08 +08:00
kagami
0bc33d8bf8
Validate user input
2024-01-04 17:19:08 +08:00
kagami
a64c881815
Rename /gen_ut to /unit_tests
2024-01-04 17:19:08 +08:00
kagami
c4d6e82ae9
Improve adjusting context to fit token budget
2024-01-04 17:19:08 +08:00
kagami
8b12669505
Use chatmark module for user input
2024-01-04 17:19:08 +08:00
kagami
d2160b6736
Update token budgets
2024-01-04 17:19:08 +08:00
kagami
05cce75127
Update translations
2024-01-04 17:19:08 +08:00
kagami
278ca673b7
Improve the output of token budget exception
2024-01-04 17:19:08 +08:00
kagami
59e05c7640
Set retry for create_chat_completion_content
2024-01-04 17:19:08 +08:00
kagami
4704f51be1
Adjust content to fit token budget and handle budget exceeded exception
2024-01-04 17:19:08 +08:00
kagami
28123663de
Use relative path in inner logic
2024-01-04 17:19:08 +08:00
kagami
fda4ad2a02
Manage prompts in a single file and ignore line-too-long error
2024-01-04 17:19:08 +08:00
kagami
3be880eabd
Use create completion wrappers in propose_test and write_tests
2024-01-04 17:19:08 +08:00
kagami
40934b8869
Implement wrappers to create completion content and chunks respectively using stream mode
2024-01-04 17:19:08 +08:00
kagami
75ff48c6bc
Support different languages in write_tests
2024-01-04 17:19:08 +08:00
kagami
925c0890c1
Mark and translate messages
2024-01-04 17:19:08 +08:00
kagami
ed03cbf08a
Support different languages in llm chatting
2024-01-04 17:19:08 +08:00
kagami
6305c8347a
Output the final answer in streaming mode
2024-01-04 17:19:08 +08:00
kagami
9246d4d32d
Init i18n support
2024-01-04 17:19:08 +08:00
kagami
8459e69713
Extract function content when line numbers are provided
2024-01-04 17:19:08 +08:00
kagami
53cbca5c69
Init /gen_ut
2024-01-04 17:19:08 +08:00
kagami
0b837ff045
Merge pull request #27 from devchat-ai/bugfix/commit-empty-file-list#158
...
Fix empty file list display in /commit view
2024-01-04 16:41:03 +08:00
bobo
ae1a3bb400
fix: Prevent empty file list in commit prompt
...
- Ensure the commit prompt correctly handles when no files are staged
- Clean up excessive whitespace in code for readability
- Simplify the creation of the Form object by removing unnecessary newlines
2024-01-04 16:22:08 +08:00
bobo
d496d6b9de
fix: Handle empty file selection list more gracefully
...
- Fix variable naming consistency in get_marked_files
- Ensure selections are stored even when unstaged file list is empty
- Combine staged and unstaged files correctly to avoid errors
2024-01-04 16:18:40 +08:00
bobo
005f1fae7b
fix: Handle commit flow for empty file lists
...
- Omit displaying emptiness for staged and unstaged file sections
- Use conditional checks to append file lists and checkboxes
- Ensure selections are retrieved even if no files are staged/unstaged
2024-01-04 15:12:22 +08:00