feat: add timeout option for API calls

This commit is contained in:
Paul Gauthier (aider) 2024-11-30 12:59:39 -08:00
parent eb996c1e42
commit bbabd38a48

View file

@ -205,6 +205,12 @@ def get_parser(default_config_files, git_root):
default=True,
help="Verify the SSL cert when connecting to models (default: True)",
)
group.add_argument(
"--timeout",
type=float,
default=None,
help="Timeout in seconds for API calls (default: None)",
)
group.add_argument(
"--edit-format",
"--chat-mode",