bbc1ab5a0aFix source_code function with the dynamic answer class.
Oleksandr Kozachuk
2023-10-20 14:02:09 +02:00
2aee018708Refactor message.Answer class in a way, that it can be constructed dynamically step by step, in preparation of using streaming API.
Oleksandr Kozachuk
2023-10-20 13:43:31 +02:00
17c6fa2453Merge pull request 'Configurable glob and location on question and hist commands' (#18) from cust_loc_glob into mainok2023-10-20 09:47:03 +02:00
5774278fb7README: added new 'question' command parameters
#18
juk0de2023-10-20 08:52:42 +02:00
40d0de50decmm: limited the message locations for the new cmm parameters to those that make sensejuk0de2023-10-20 09:14:40 +02:00
980e5ac51fchat: changed default glob to '*.msg' in all ChatDB functionsjuk0de2023-10-20 08:24:58 +02:00
114282dfd8Add --glob and --location flags to hist and question commands, to be able to specify the location and files they should use.
Oleksandr Kozachuk
2023-10-19 16:03:51 +02:00
9a493b57daPer default use only files with .msg suffix ignoring other files.
Oleksandr Kozachuk
2023-10-19 16:02:40 +02:00
9b0951cb3fChange type msg_location to an Enum instead of Literal to be able to get all values easy and improve type checks.
Oleksandr Kozachuk
2023-10-19 16:00:44 +02:00
dca1bc621fAdd Jinja2 as preparation for pipes.
pipes
Oleksandr Kozachuk
2023-09-09 21:22:41 +02:00
5f29f60168Add .old/ to git ignore, I use that dir ofter for old files, I do not want to delete.
Oleksandr Kozachuk
2023-10-17 11:53:49 +02:00
3ea1f49027cmm: added options '--tight' and '--no-paging' to the 'hist --print' cmd
#16
juk0de2023-10-01 10:22:26 +02:00
8f56399844cmm: replaced options '--with-tags' and '--with-file' with '--with-metadata'juk0de2023-10-01 10:11:16 +02:00
dd836cd72dMerge pull request 'cmm question --repeat supports multiple questions, added tests and fixes' (#15) from repeat_multi into mainjuk0de2023-09-26 18:04:27 +02:00
601ebe731atest_question_cmd: added a new testcase and made the old cases more explicit (easier to read)
#15
repeat_multi
juk0de2023-09-24 08:53:37 +02:00
87b25993betests: moved 'FakeAI' and common functions to 'test_common.py'juk0de2023-09-23 09:03:20 +02:00
a478408449test_question_cmd: test fixes and cleanupjuk0de2023-09-23 08:10:35 +02:00
b83b396c7bquestion_cmd: fixed msg specific argument creationjuk0de2023-09-22 22:05:05 +02:00
3c932aa88eopenai: fixed assignment of output tagsjuk0de2023-09-22 22:04:12 +02:00
80c5dcc801question_cmd: input tag options without a tag (e. g. '-t') now select ALL tagsjuk0de2023-09-22 07:51:05 +02:00
33df84beaaai_factory: added optional 'def_ai' and 'def_model' arguments to 'create_ai'juk0de2023-09-22 07:41:15 +02:00
0657a1bab8question_cmd: fixed AI and model arguments when repeating messagesjuk0de2023-09-21 18:21:43 +02:00
e9175afacetest_question_cmd: added testcase for --repeat with multiple messagesjuk0de2023-09-21 18:05:35 +02:00
21f81f3569question_cmd: implemented repetition of multiple messagesjuk0de2023-09-21 07:48:24 +02:00
4538624247Merge pull request 'Implemented the 'question --repeat' command and other improvements' (#14) from repeat into mainjuk0de2023-09-21 07:25:47 +02:00
29a20bd2d8message: added 'equals()' function and improved robustness and debuggingjuk0de2023-09-19 09:36:23 +02:00
80a1457dd1configuration: the cache folder can now be specified in the configuration filejuk0de2023-09-18 14:34:10 +02:00
f964c5471eMerge pull request 'Refactoring, fixes and new features for the 'chat.py' module' (#12) from chat_refactoring into mainjuk0de2023-09-18 14:23:51 +02:00