Skip to content

Commit

Permalink
i#52: comment out parse_args function in cli.py
Browse files Browse the repository at this point in the history
This is a workaround for kharvd#52
Previously, submitting strings such as `--a b` to the CLI would
result in an error message.
  • Loading branch information
Jasha10 committed Jul 17, 2023
1 parent eb1a416 commit 14fd1a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gptcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,6 @@ def _request_input(self):
return self.prompt(multiline=True)

def _parse_input(self, input: str) -> Tuple[str, Dict[str, Any]]:
input, args = parse_args(input)
# input, args = parse_args(input)
args = {}
return input, args

0 comments on commit 14fd1a4

Please sign in to comment.