Skip to content

Commit

Permalink
expose the --instructions flag to the use
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenfreund committed May 22, 2024
1 parent 8ce4b48 commit 8312e51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/chatdbg/util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8312e51

Please sign in to comment.