aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-06 15:06:39 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-06 15:06:39 -0500
commitb33c047ff65b44514b845e758c6a0fc666ff9b60 (patch)
treee90b93c74aee2983e7fed91cb761b0aee7dd3e26 /src
parent033f3f458fdb06844601d9164df0e539cad47970 (diff)
downloadgpt-chat-cli-b33c047ff65b44514b845e758c6a0fc666ff9b60.tar.xz
gpt-chat-cli-b33c047ff65b44514b845e758c6a0fc666ff9b60.zip
lessen context
Diffstat (limited to 'src')
-rw-r--r--src/gpt_chat_cli/argparsing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpt_chat_cli/argparsing.py b/src/gpt_chat_cli/argparsing.py
index 7869f69..b026af8 100644
--- a/src/gpt_chat_cli/argparsing.py
+++ b/src/gpt_chat_cli/argparsing.py
@@ -185,10 +185,10 @@ def parse_args() -> Arguments:
"-k",
"--max-tokens",
type=int,
- default=os.getenv(f'{GPT_CLI_ENV_PREFIX}MAX_TOKENS', 3072),
+ default=os.getenv(f'{GPT_CLI_ENV_PREFIX}MAX_TOKENS', 2048),
help=(
"The maximum number of tokens to generate in the chat completion. "
- "Defaults to 3072."
+ "Defaults to 2048."
),
)