Skip to content

Commit 9d25164

Browse files
committed
Max tokens
1 parent 0ea9198 commit 9d25164

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

interpreter_1/cli.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ def _profile_to_arg_params(profile: Profile) -> Dict[str, Dict[str, Any]]:
6868
"default": profile.temperature,
6969
"help": "Specify the temperature",
7070
},
71+
"max_tokens": {
72+
"flags": ["--max-tokens"],
73+
"default": profile.max_tokens,
74+
"help": "Specify the maximum number of tokens",
75+
},
7176
# Tool configuration
7277
"tools": {
7378
"flags": ["--tools"],

0 commit comments

Comments
 (0)