Skip to content

docs(deployment): corporate proxy / custom CA for model downloads - #123

Merged
cdeust merged 1 commit into
mainfrom
docs/proxy-ca-model-downloads
Jul 14, 2026
Merged

docs(deployment): corporate proxy / custom CA for model downloads#123
cdeust merged 1 commit into
mainfrom
docs/proxy-ca-model-downloads

Conversation

@cdeust

@cdeust cdeust commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Fixes #116. Section « Corporate proxy / custom CA (model downloads) » ajoutée à docs/deployment-scenarios.md (~125 lignes), après la section Remote PostgreSQL.

Cœur : la table de distinction REQUESTS_CA_BUNDLE / SSL_CERT_FILE (Python — honorées par huggingface_hub/sentence-transformers/flashrank) vs NODE_EXTRA_CA_CERTS (Node/Claude Code uniquement — l'erreur classique), + HF_HOME/cache persistant, + option air-gapped (préchauffage au build, renvoi #118).

Chaque affirmation vérifiée contre le code réel (embedding_engine.py:213-259, reranker.py cache_dir + commit bb1c581, setup.py:272-296 propagation d'env au subprocess) — la doc décrit le comportement effectif, pas le supposé.

🤖 Generated with Claude Code

Cover HTTPS_PROXY/HTTP_PROXY/NO_PROXY, the REQUESTS_CA_BUNDLE/SSL_CERT_FILE
vs NODE_EXTRA_CA_CERTS trap (Python downloads vs Claude Code's Node TLS),
durable HF_HOME/XDG_CACHE_HOME cache placement referencing the FlashRank
/tmp incident (bb1c581), and air-gapped options (devcontainer prewarm
#118, internal HF mirror). Verified actual download behavior by reading
embedding_engine.py, reranker.py, and setup.py rather than assuming it.

Fixes #116

Co-Authored-By: Claude <noreply@anthropic.com>
@cdeust
cdeust merged commit ce7c279 into main Jul 14, 2026
14 checks passed
@cdeust
cdeust deleted the docs/proxy-ca-model-downloads branch July 14, 2026 21:55
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.

Documenter proxy/CA d'entreprise pour les téléchargements de modèles (HTTPS_PROXY, REQUESTS_CA_BUNDLE/SSL_CERT_FILE, HF_HUB_*)

1 participant