Commit e8c52e6
committed
🚨 Refactor commit function and update tests
- Update CommitMessage model to use constr for max_length validation
- Make git_message_detail optional in CommitMessage model
- Adjust test_commit to use fixed token size of 250
- Remove TEST_RESPONSE_TOKEN_SIZE constant from tests1 parent fdc04f6 commit e8c52e6
File tree
3 files changed
+100
-218
lines changed- aicodebot/commands
- tests
- cassettes/test_cli
3 files changed
+100
-218
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments