mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
style: Fix linting issues in onboarding.py
This commit is contained in:
parent
c73b064133
commit
ad844cce5c
1 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ def check_openrouter_tier(api_key):
|
||||||
response = requests.get(
|
response = requests.get(
|
||||||
"https://openrouter.ai/api/v1/auth/key",
|
"https://openrouter.ai/api/v1/auth/key",
|
||||||
headers={"Authorization": f"Bearer {api_key}"},
|
headers={"Authorization": f"Bearer {api_key}"},
|
||||||
timeout=5 # Add a reasonable timeout
|
timeout=5, # Add a reasonable timeout
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
data = response.json()
|
data = response.json()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue