Skip to content

Commit

Permalink
Max tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Nov 17, 2024
1 parent 0ea9198 commit 9d25164
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions interpreter_1/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ def _profile_to_arg_params(profile: Profile) -> Dict[str, Dict[str, Any]]:
"default": profile.temperature,
"help": "Specify the temperature",
},
"max_tokens": {
"flags": ["--max-tokens"],
"default": profile.max_tokens,
"help": "Specify the maximum number of tokens",
},
# Tool configuration
"tools": {
"flags": ["--tools"],
Expand Down

0 comments on commit 9d25164

Please sign in to comment.