From 8312e51abb6cf69622bbf000bb7aed095b5eba4d Mon Sep 17 00:00:00 2001 From: Stephen Freund Date: Wed, 22 May 2024 12:39:10 -0400 Subject: [PATCH 1/2] expose the --instructions flag to the use --- src/chatdbg/util/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chatdbg/util/config.py b/src/chatdbg/util/config.py index 17ee2a1..7655bab 100644 --- a/src/chatdbg/util/config.py +++ b/src/chatdbg/util/config.py @@ -53,6 +53,7 @@ class ChatDBGConfig(Configurable): tag = Unicode(_chatdbg_get_env("tag", ""), help="Any extra info for log file").tag( config=True ) + rc_lines = Unicode( _chatdbg_get_env("rc_lines", "[]"), help="lines to run at startup" ).tag(config=True) @@ -90,10 +91,10 @@ class ChatDBGConfig(Configurable): instructions = Unicode( _chatdbg_get_env("instructions", ""), - help="the File for the instructions, or '' for the default version.", + help="The file for the initial instructions to the LLM, or '' for the default (possibly-model specific) version.", ).tag(config=True) - _user_configurable = [debug, log, model, no_stream, format] + _user_configurable = [debug, log, model, instructions, no_stream, format] def _parser(self): parser = DBGParser(add_help=False) From 5d5413340b56a621547c3c8f1bb3994b17691a7a Mon Sep 17 00:00:00 2001 From: Stephen Freund Date: Wed, 22 May 2024 12:51:37 -0400 Subject: [PATCH 2/2] Bump version in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b8e38b6..8517617 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "ChatDBG" -version = "0.6.3" +version = "0.6.4" authors = [ { name="Emery Berger", email="emery.berger@gmail.com" }, { name="Stephen Freund", email="sfreund@williams.edu" },