Skip to content

Conversation

@leseb
Copy link
Collaborator

@leseb leseb commented Jan 27, 2026

Implemented network configuration support (TLS, proxy, timeout, headers) for all remote inference providers.
The NetworkConfig model provides standardized configuration for TLS (including mTLS), proxy servers (with CA cert validation), timeouts (granular connect/read), and custom HTTP headers.

Network configuration is automatically applied through OpenAIMixin, merging with provider-specific customizations like OCI's custom auth. Improved type safety by using Path types for certificate paths instead of strings. Simplified client merge logic and added backward compatibility for vLLM's deprecated tls_verify field.

Enhanced the provider documentation generator to automatically expand complex types like NetworkConfig, showing all nested fields instead of just type names. All provider documentation has been regenerated with the new network configuration options.

Closes: #4340

Test Plan

Unit tests.

…oviders

Implemented network configuration support (TLS, proxy, timeout, headers)
for all remote inference providers.
The NetworkConfig model provides standardized configuration for TLS
(including mTLS), proxy servers (with CA cert validation), timeouts
(granular connect/read), and custom HTTP headers.

Network configuration is automatically applied through OpenAIMixin,
merging with provider-specific customizations like OCI's custom auth.
Improved type safety by using Path types for certificate paths instead
of strings. Simplified client merge logic and added backward
compatibility for vLLM's deprecated tls_verify field.

Enhanced the provider documentation generator to automatically expand
complex types like NetworkConfig, showing all nested fields instead of
just type names. All provider documentation has been regenerated with
the new network configuration options.

Closes: llamastack#4340
Signed-off-by: Sébastien Han <seb@redhat.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 27, 2026
leseb added 6 commits January 27, 2026 15:56
Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
=========================== short test summary info ============================
FAILED tests/unit/providers/utils/inference/test_network_config.py::TestBuildProxyMounts::test_proxy_with_cacert - ssl.SSLError: [X509: NO_CERTIFICATE_OR_CRL_FOUND] no certificate or crl found (_ssl.c:4354)
FAILED tests/unit/providers/utils/inference/test_network_config.py::TestBuildProxyMounts::test_granular_proxies_with_cacert - ssl.SSLError: [X509: NO_CERTIFICATE_OR_CRL_FOUND] no certificate or crl found (_ssl.c:4354)

Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TLS configuration for all remote inference provides

1 participant