Skip to content

fix: pass --no-verify-ssl to version check, fix SSL_VERIFY, add AIDER_TAGS_CACHE_DIR - #5177

Open
superShen0916 wants to merge 2 commits into
Aider-AI:mainfrom
superShen0916:fix/ssl-verify-version-check
Open

fix: pass --no-verify-ssl to version check, fix SSL_VERIFY, add AIDER_TAGS_CACHE_DIR#5177
superShen0916 wants to merge 2 commits into
Aider-AI:mainfrom
superShen0916:fix/ssl-verify-version-check

Conversation

@superShen0916

@superShen0916 superShen0916 commented May 23, 2026

Copy link
Copy Markdown

Summary

Three focused fixes for enterprise and custom-environment users:

Default behavior is unchanged when these options are not used.

Changes

  • aider/versioncheck.py: accept verify_ssl and pass it to requests.get.
  • aider/main.py: forward the CLI setting to version checks and configure LiteLLM consistently.
  • aider/repomap.py: resolve the tags-cache path from AIDER_TAGS_CACHE_DIR when set.
  • Add focused regression coverage for SSL propagation and cache-directory selection.

Test plan

  • python -m pytest -q --timeout=60 tests/basic/test_ssl_verification.py tests/basic/test_repomap.py::TestRepoMap::test_get_tags_cache_dir_respects_env — 4 passed.
  • python -m compileall -q on all changed Python files — passed.
  • flake8 on all changed Python files — passed.

Risk

Low. The changes only affect explicitly configured SSL verification and tags-cache paths.

@CLAassistant

CLAassistant commented May 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@superShen0916 superShen0916 changed the title fix: pass --no-verify-ssl to version check and fix SSL_VERIFY env var fix: pass --no-verify-ssl to version check, fix SSL_VERIFY, add AIDER_TAGS_CACHE_DIR May 23, 2026
Pass --no-verify-ssl through version checks and set SSL_VERIFY=false for LiteLLM compatibility. Add AIDER_TAGS_CACHE_DIR support for relocating the repo-map tags cache, with focused regression coverage for both behaviors.

Fixes Aider-AI#664

Fixes Aider-AI#2325

Signed-off-by: superShen0916 <superShen0916@users.noreply.github.com>
@superShen0916
superShen0916 force-pushed the fix/ssl-verify-version-check branch from 8113492 to 2935d27 Compare May 30, 2026 11:03
@superShen0916
superShen0916 force-pushed the fix/ssl-verify-version-check branch from e23d09b to 2bdb195 Compare September 3, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] User-defined location for .aider.tags.cache.v3 Add an option to skip SSL verification for users behind firewalls

2 participants