aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authortjohnman <tjohnman@users.noreply.github.com>2023-03-19 19:36:19 +0100
committerGitHub <noreply@github.com>2023-03-19 20:36:19 +0200
commitad5fd5b60cfdfbfb22b0f2bc9e9f6c9692768f8d (patch)
tree0aaecd80c0900cace2879344f6004f5bbfd5a3f8 /utils.h
parent368d0c8a9ebae16a20e1c8971b21ee888bdefad5 (diff)
Make prompt randomization optional. (#300)
Co-authored-by: Johnman <>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 2132519..60ef12b 100644
--- a/utils.h
+++ b/utils.h
@@ -32,6 +32,8 @@ struct gpt_params {
std::string prompt = "";
std::string antiprompt = ""; // string upon seeing which more user input is prompted
+ bool random_prompt = false;
+
bool use_color = false; // use color to distinguish generations and inputs
bool interactive = false; // interactive mode