|
|
9c7483ec51
|
main: improved parameter descriptions
|
2023-10-20 09:03:22 +02:00 |
|
Oleksandr Kozachuk
|
114282dfd8
|
Add --glob and --location flags to hist and question commands, to be able to specify the location and files they should use.
|
2023-10-19 16:03:51 +02:00 |
|
|
|
3ea1f49027
|
cmm: added options '--tight' and '--no-paging' to the 'hist --print' cmd
|
2023-10-02 08:35:19 +02:00 |
|
|
|
8f56399844
|
cmm: replaced options '--with-tags' and '--with-file' with '--with-metadata'
|
2023-10-01 10:11:16 +02:00 |
|
|
|
811b2e6830
|
hist_cmd: implemented '--convert' option
|
2023-09-29 18:53:12 +02:00 |
|
|
|
80c5dcc801
|
question_cmd: input tag options without a tag (e. g. '-t') now select ALL tags
|
2023-09-23 08:11:11 +02:00 |
|
|
|
ed379ed535
|
print_cmd: added option to print latest message
|
2023-09-20 10:18:06 +02:00 |
|
|
|
c43bafe47a
|
main: improved metavar names and descriptions
|
2023-09-20 10:18:06 +02:00 |
|
|
|
071871f929
|
chat et al: '.next' and '.config.yaml' are now ignored by ChatDB
|
2023-09-14 16:06:00 +02:00 |
|
Oleksandr Kozachuk
|
1ec3d6fcda
|
Make it possible to specify the AI in config command.
|
2023-09-12 16:37:50 +02:00 |
|
|
|
53582a7123
|
question_cmd: fixed source code extraction and added a testcase
|
2023-09-10 19:14:11 +02:00 |
|
Oleksandr Kozachuk
|
d22877a0f1
|
Port print arguments -q/-a/-S from main to restructuring.
|
2023-09-09 15:38:40 +02:00 |
|
Oleksandr Kozachuk
|
7cf62c54ef
|
Allow in question -s for just sourcing file and -S to source file with ``` encapsulation.
|
2023-09-09 15:16:17 +02:00 |
|
|
|
b1a23394fc
|
cmm: splitted commands into separate modules (and more cleanup)
|
2023-09-09 08:31:45 +02:00 |
|
|
|
2df9dd6427
|
cmm: removed all the old code and modules
|
2023-09-08 13:04:11 +02:00 |
|
|
|
ba5aa1fbc7
|
cmm: added 'question' command
|
2023-09-06 08:23:09 +02:00 |
|
|
|
bf1cbff6a2
|
cmm: the 'print' command now uses 'Message.from_file()'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
f93a57c00d
|
cmm: tags completion now uses 'Message.tags_from_dir' (fixes tag completion for me)
|
2023-09-06 08:23:09 +02:00 |
|
|
|
b0504aedbe
|
cmm: the 'hist' command now uses the new 'ChatDB'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
eb0d97ddc8
|
cmm: the 'tags' command now uses the new 'ChatDB'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
a5c91adc41
|
configuration: minor improvements / fixes
Could not extend the subclass of 'TypedDict' the way I wanted, so I switched to 'dataclass'.
|
2023-08-17 07:46:47 +02:00 |
|
|
|
dc13213c4d
|
configuration is now a TypedDict in its own module
|
2023-08-16 08:14:41 +02:00 |
|
|
|
4303fb414f
|
added typ hints for all functions in 'main.py', 'utils.py', 'storage.py' and 'api_client.py'
|
2023-08-15 23:53:24 +02:00 |
|
|
|
a5075b14a0
|
added short aliases for subcommands
|
2023-08-13 08:41:59 +02:00 |
|
|
|
1e15a52e26
|
updated README and some minor renaming
|
2023-08-12 18:34:19 +02:00 |
|
|
|
22bebc16ed
|
fixed min nr of expected arguments
|
2023-08-12 14:16:16 +02:00 |
|
|
|
f7ba0c000f
|
renamed 'model' command to 'config'
|
2023-08-12 14:16:16 +02:00 |
|
Oleksandr Kozachuk
|
b6eb7d9af8
|
Fix autocompletion.
|
2023-08-12 13:58:15 +02:00 |
|
|
|
f371a6146e
|
moved 'read_config' to storage.py and added 'write_config'
|
2023-08-12 13:55:39 +02:00 |
|
Oleksandr Kozachuk
|
4b2f634b79
|
Remove wrong comment and make it more readable.
|
2023-08-12 12:30:07 +02:00 |
|
Oleksandr Kozachuk
|
e4d055b900
|
Fix the max_tokens, temperature, and model setup.
|
2023-08-12 12:20:49 +02:00 |
|
|
|
bc5e6228a6
|
defined 'ConfigType' for configuration file type hinting
|
2023-08-12 10:21:09 +02:00 |
|
|
|
93a8b0081a
|
main: cleanup
|
2023-08-12 09:50:54 +02:00 |
|
|
|
5119b3a874
|
fixed 'ask' command
|
2023-08-12 08:28:07 +02:00 |
|
|
|
5a435c5f8f
|
fixed 'tag' and 'hist' commands
|
2023-08-12 08:20:00 +02:00 |
|
|
|
f90e7bcd47
|
fixed 'hist' command and simplified reading the config file
|
2023-08-12 08:13:31 +02:00 |
|
|
|
6406d2f5b5
|
started to implement sub-commands
|
2023-08-11 18:27:33 +02:00 |
|
Oleksandr Kozachuk
|
caf5244d52
|
Add action -L to list all available models
|
2023-08-05 16:04:25 +02:00 |
|
Oleksandr Kozachuk
|
8bb2a002a6
|
Fixed tests.
|
2023-08-05 13:21:17 +02:00 |
|
|
|
8e4a02b932
|
added option '-a' to match all tags when selecting chat history entries
|
2023-08-05 11:41:36 +02:00 |
|
|
|
5d55bed0ec
|
added option '-l' to list all tags and their frequency
|
2023-08-05 11:16:06 +02:00 |
|
|
|
32bd17594b
|
Added option '-W' to print chat history with filenames
|
2023-08-05 08:09:35 +02:00 |
|
|
|
b57d78a875
|
added option '-w' to print chat history with tags
|
2023-08-04 22:24:30 +02:00 |
|
Oleksandr Kozachuk
|
648d7b35cc
|
Merge branch 'main' of fstage:ok/ChatMastermind
|
2023-05-08 13:59:42 +02:00 |
|
Oleksandr Kozachuk
|
6ae0e7d084
|
Improve handling of printing source code only output.
|
2023-05-07 16:32:24 +02:00 |
|
Oleksandr Kozachuk
|
e0fac306cb
|
Change default number of answers to 1
|
2023-05-07 15:01:48 +02:00 |
|
Oleksandr Kozachuk
|
df2f5e01a5
|
Fix handling of -q and -s, add pre-commit checks.
|
2023-04-19 15:28:19 +02:00 |
|
Oleksandr Kozachuk
|
eed180e7a6
|
Add possibility to print just the source code
|
2023-04-07 23:42:26 +02:00 |
|
Oleksandr Kozachuk
|
16f059920b
|
Name files with autogenerated numbers
|
2023-04-07 21:55:47 +02:00 |
|
Oleksandr Kozachuk
|
4ee777118d
|
Refactor process_tags
|
2023-04-07 17:56:02 +02:00 |
|