mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
Merge branch 'main' of github.com:Aider-AI/aider
This commit is contained in:
commit
d3882d3513
1 changed files with 0 additions and 5 deletions
|
@ -13,7 +13,6 @@ import requests
|
||||||
|
|
||||||
from aider import urls
|
from aider import urls
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
from aider.utils import check_pip_install_extra
|
|
||||||
|
|
||||||
|
|
||||||
def check_openrouter_tier(api_key):
|
def check_openrouter_tier(api_key):
|
||||||
|
@ -215,10 +214,6 @@ def exchange_code_for_key(code, code_verifier, io):
|
||||||
def start_openrouter_oauth_flow(io, analytics):
|
def start_openrouter_oauth_flow(io, analytics):
|
||||||
"""Initiates the OpenRouter OAuth PKCE flow using a local server."""
|
"""Initiates the OpenRouter OAuth PKCE flow using a local server."""
|
||||||
|
|
||||||
# Check for requests library
|
|
||||||
if not check_pip_install_extra(io, "requests", "OpenRouter OAuth", "aider[oauth]"):
|
|
||||||
return None
|
|
||||||
|
|
||||||
port = find_available_port()
|
port = find_available_port()
|
||||||
if not port:
|
if not port:
|
||||||
io.tool_error("Could not find an available port between 8484 and 8584.")
|
io.tool_error("Could not find an available port between 8484 and 8584.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue