mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
Added --openrouter
This commit is contained in:
parent
e79732dcf7
commit
1317ee1ace
1 changed files with 7 additions and 0 deletions
|
@ -208,6 +208,13 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
|||
env_var="OPENAI_API_DEPLOYMENT_ID",
|
||||
help="Specify the deployment_id",
|
||||
)
|
||||
model_group.add_argument(
|
||||
"--openrouter",
|
||||
dest="openai_api_base",
|
||||
action="store_const",
|
||||
const="https://openrouter.ai/api/v1",
|
||||
help="Specify the api base url as https://openrouter.ai/api/v1",
|
||||
)
|
||||
model_group.add_argument(
|
||||
"--edit-format",
|
||||
metavar="EDIT_FORMAT",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue