Skip to content

feat(rust): use OpenSSL for the Rust bridge's HTTPS clients in the FIPS build - #53104

Open
yucheng-berri wants to merge 4 commits into
litellm_fips_rust_build_switchfrom
litellm_fips_rust_http_openssl
Open

yucheng-berri wants to merge 4 commits into
litellm_fips_rust_build_switchfrom
litellm_fips_rust_http_openssl

Conversation

@yucheng-berri

@yucheng-berri yucheng-berri commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Handwritten 1-3 sentence description

[insert handwritten description here]

Details

TLDR

Problem this solves:

  • The Rust bridge's HTTPS clients use rustls with ring, a crypto library compiled into the bridge
  • They download the model price list when litellm is imported, and, when fips_mode is off, they make the provider calls the bridge serves (for example /v1/messages). With fips_mode: true those calls already go through Python's client
  • So in the FIPS image those TLS connections run outside the FIPS module, and they pick ChaCha20 or X25519 when the server prefers them

How it solves it:

  • With the bridge's fips feature (from build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917, which Dockerfile.fips builds with), the bridge installs rustls-openssl as the process crypto provider when it loads
  • litellm-http builds its TLS configs from the installed provider instead of always from ring, so those connections do their crypto in the system OpenSSL and its FIPS provider
  • That provider has no ChaCha20 and no X25519, so in the FIPS image the Rust clients now negotiate AES-GCM over P-256 or P-384, like Python's clients on that image
  • rustls-openssl leaves the RSA key size to OpenSSL, so the provider wraps its RSA signature checks to accept keys of 2048 to 8192 bits: 2048 is the FIPS module's own floor and 8192 is ring's ceiling. ring rounds the key size up to whole bytes, so it also accepted 2041 to 2047-bit keys; the FIPS build refuses those, as the module itself does (declared below)
  • An ssl_ecdh_curve the provider does not offer (X25519 in the FIPS image) is not applied: the bridge's clients keep the call on the provider's default groups and log a warning. The /v1/messages client logs only this case: a setting rustls cannot apply at all sends the call to Python's client, which applies it, so that client stays silent as on main. Python's client on that image has no X25519 either, so unlike a curve name rustls does not know, the call is not handed to Python. Without that check the curve filter left no key exchange group and rustls refused to build the client (no kx groups configured)
  • Builds without the feature, which is the standard image and the PyPI wheel, keep ring

Based on #53917 alone, which holds the build switch shared with #53070 and #53103, so this PR no longer depends on them or on #53097, and they merge in any order. This PR is the only one that edits the bridge's fips feature line, adding dep:rustls-openssl. The head 74a91d35e22 has the same litellm-http and bridge changes as 917f64aa9fc. This is item 4 of 4 for the Rust bridge's crypto in the FIPS image.

User Flow

Before: an operator runs the FIPS image and the bridge's HTTPS calls still use ring

  1. They start the FIPS image with general_settings.fips_mode: true
  2. On import, the bridge downloads the price list from GitHub
  3. That connection runs its TLS in ring, and a server that prefers ChaCha20 gets ChaCha20. With fips_mode off, the bridge's /v1/messages calls do the same

After: the same calls run their TLS in OpenSSL

  1. Same image build, same config
  2. The same download succeeds
  3. It runs its TLS in OpenSSL's FIPS provider, on AES-GCM, and so do the bridge's /v1/messages calls with fips_mode off

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

New tests, all passing on Linux:

  • module_import_installs_openssl_as_the_process_crypto_provider (with --features fips) next to the existing ring test, which now runs only without the feature
  • http_clients_verify_with_the_installed_openssl_provider (with --features fips): a client config built from the default HTTP settings uses the OpenSSL provider's signature checks. It fails when litellm-http is switched back to ring
  • verifies_rsa_signatures_only_from_keys_in_range (with --features fips): 1024 and 2047-bit RSA are refused, 2048 and 4096 are accepted. It fails with the size check removed, and the 2047 case fails when the check rounds up to whole bytes as ring does
  • a_curve_is_used_only_when_the_provider_offers_it: X25519 against a provider without it is unsupported, P-256 is kept
  • a_curve_the_provider_does_not_offer_keeps_calls_on_the_bridge: a curve the provider does not offer is left out of the settings that send calls to Python, and a curve rustls does not know stays in. It fails with the filter removed
  • native_events_reach_python_with_levels_context_reentry_and_http_deduplication now also checks that the bridge's /v1/messages client logs nothing for a curve rustls does not know, since those calls go to Python's client. It fails when that client warns on every unsupported setting
  • only_a_setting_dropped_on_the_bridge_is_kept_on_it: only a curve the provider does not offer is warned about by the /v1/messages client and left out of the settings that send calls to Python
  • On 7f69b26a0cd on build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917 alone, on Linux (74a91d35e22 is the same commit on build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917's nextest commit): cargo test -p litellm-http 172 passed, plus 34 in its integration tests; cargo test -p litellm-python-bridge --locked --lib 505 passed and with --features fips 509 passed, logger::tests::native_events_reach_python_with_levels_context_reentry_and_http_deduplication included; cargo clippy --workspace --all-targets --locked -- -D warnings, and the same with --features litellm-python-bridge/fips, are clean. The bridge's Python-backed tests share one interpreter under cargo test and flake on a loaded machine: with --features fips, 6 of 23 runs had failures in workload_identity, modify_params and model_cost::fetch, some cascading into secrets::callback and ocr, against 2 of 8 runs on build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917 alone and 1 of 8 here without the feature. build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917 now runs the bridge's FIPS tests under cargo nextest run, one process per test, as the workspace step does
  • 68a2b66499d merges main 628e4a6fdc9 in through build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917. Main's refactor(rust_bridge): give the logger module one role and split it by concern #53690 moved the bridge logger tests from logger/tests.rs into logger/process.rs, so this PR's messages_warning check moved with them, unchanged apart from indentation, and lib.rs keeps both main's new modules and tls_provider. There cargo test -p litellm-http 172 passed plus 34; cargo nextest run -p litellm-python-bridge --locked 529 of 530 passed and 533 of 534 with --features fips, the failure in both being marshal_boundary, which fails the same on build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917 with main merged in. Clippy -D warnings is clean with and without the feature. The head 4636f2df5c0 only drops the doc comment on provider() in litellm-http; there fmt, clippy both ways and cargo test -p litellm-http (172 plus 34) were rerun and pass.
  • The head 565fa1e31b8 fixes two findings from the 11-23 gauntlet: the /v1/messages client now warns only about a curve the provider does not offer, and the RSA floor is documented and tested as the FIPS module's. On Linux there, cargo fmt --check and clippy -D warnings with and without --features fips are clean, and cargo nextest run -p litellm-python-bridge over the http, tls_provider and logger::process tests passes 38 of 38 without the feature and 42 of 42 with it. Two mutants are killed: making the /v1/messages client warn on every unsupported setting fails the logger test, and rounding the RSA size up to whole bytes, as ring does, fails the 2047-bit case.

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

Both images were built with docker build -f litellm/deploy/docker/Dockerfile.fips --target final on an x86_64 VM. Before is #53103's 663c4bcf2ec (fips-r3:663c4bc). After is 3f99b47b4c2 (fips-r4:3f99b47); the head ca47528ff02 only adds the HTTP client test and #53103's CI step on top. The After build log reports PASS: all 113 ELF binaries accounted for.

Dashboard on the After image, with real OpenAI and Anthropic calls

The audit proxy (After image, fips_mode: true, 2 workers) after the audit run: a Playground call to anthropic/claude-haiku-4-5, then the Logs page with the audit's calls.

Playground call on the After image

Logs page on the After image

The whole flow: login, Virtual Keys, Playground, Logs

Dashboard flow

Real provider calls through both images

Same rig as #53070: Postgres 16 over TLS 1.2, the proxy with 2 workers and fips_mode: true, openai/gpt-4.1-mini and anthropic/claude-haiku-4-5 with real keys, every call with its own virtual-key-authenticated x-litellm-tags value and exactly one spend row per 200.

Config and cells Before After
A password login: chat, /v1/messages, /v1/responses (SDK sync, async stream, curl) 10 of 10 return 200, one spend row each same
A errors: unknown model, no key, bad virtual key, bad provider key, /v1/messages unknown model 400, 401, 401, 401, 400 same
A the same call 3 times, a 5 KB prompt 3 rows; 200 same
B client-certificate login, C PKCS#1 PGSSLKEY: chat, messages stream, responses 3 of 3 each, B logins all method=cert same
Postgres paused 10 s during a 30-request mixed burst 30 of 30 return 200 same
One worker killed, then 8 requests 8 of 8, worker restarted same
Proxy restarted 3 s into a 20-request burst, then chat, messages stream, responses all 20 returned 200, but the restart came before 5 of their spend rows were written; 3 of 3 after 20 of 20 with their rows; 3 of 3 after
Database password in the proxy log 0 0

The restart row depends on where the restart lands in the burst, not on the image: the same cell cut 10 calls on Before and none on After in #53103's audit. This PR does not touch spend writing.

SSL_ECDH_CURVE=X25519 with fips_mode off: Before and the head

A review of ca47528ff02 found that with fips_mode off and SSL_ECDH_CURVE=X25519, this PR reported the curve unsupported and handed /v1/messages to Python, whose OpenSSL on the FIPS image has no X25519 either, so those calls failed with NO_SUITABLE_GROUPS where Before served them from the bridge. 807b3d096aa keeps those calls on the bridge on the provider's default groups. 5ce391ce1cc makes the bridge's /v1/messages client log that warning; before it, the proxy dropped the curve without a log line. Since 565fa1e31b8, that client logs only a curve the provider does not offer, so the standard image logs nothing new.

Same rig for both images: a local HTTPS model server (TLS 1.2, ChaCha20 first in its cipher order) as the deployment's api_base, Postgres 16 over TLS, the proxy with 1 worker. Before is 4fcd7ccf177 (fips-apks:4fcd7cc). The head is fips-r4:917f64a, built from this PR's head 917f64aa9fc, so the whole stack on main. Its build log shows #52997's grpc and libpq check, the bridge's libssl check and PASS: all 113 ELF binaries accounted for, and nm -D --undefined-only _native.abi3.so lists EVP_DigestInit_ex, EVP_sha256, EVP_PKEY_derive, SSL_CTX_new and SSL_connect. Five /v1/messages calls and one chat call with one virtual key per config, 8 s apart, run on 2026-11-21. The earlier head image fips-r4:5ce391c gave the same rows.

Config Before 4fcd7cc Head 917f64a
fips_mode: false, SSL_ECDH_CURVE=X25519: /v1/messages calls 2 to 5 return 200; the model server sees all 5 on ECDHE-RSA-CHACHA20-POLY1305 calls 2 to 5 return 200; the model server sees all 5 on ECDHE-RSA-AES256-GCM-SHA384
The first of those calls empty reply to the client, while the model server answers it same
ssl_ecdh_curve "X25519" is not offered by the FIPS build's OpenSSL provider, so the default key exchange groups are used in the proxy log 0 lines 1 line
Control: fips_mode: false, no curve: /v1/messages 5 of 5 return 200 on ECDHE-RSA-CHACHA20-POLY1305 5 of 5 return 200 on ECDHE-RSA-AES256-GCM-SHA384
Control: fips_mode: true or false, no curve: chat (Python's client) 200 on ECDHE-RSA-AES256-GCM-SHA384 same
fips_mode: true, SSL_ECDH_CURVE=X25519: /v1/messages and chat (Python's client) the proxy logs 500 NO_SUITABLE_GROUPS for all 6 calls and the model server gets none; the client gets the 500 on each the proxy logs the same 6 times 500 and the model server gets none; the client gets an empty reply on the first two and the 500 on the rest
fips_mode: false, SSL_ECDH_CURVE=X25519: chat (Python's client) 500, Connection error same
Price list download at import with SSL_ECDH_CURVE=X25519 reaches the server on ECDHE-RSA-CHACHA20-POLY1305 reaches the server on ECDHE-RSA-AES256-GCM-SHA384

The empty reply shows up on Before too: here on its first fips_mode: false X25519 call, and in earlier runs on its first fips_mode: true X25519 call in 2 of 4 runs. It never shows up without the curve, and the proxy logs the same status on both images, so it is not from this PR. This rig's CA now comes from a non-FIPS helper image whose certificates Python 3.13 accepts, so chat returns 200 without the curve on both images; in the earlier runs it failed on both for that rig reason.

Rust TLS now runs in OpenSSL

Throwaway CA, local HTTPS servers on python:3.13-slim (OpenSSL 3.5.7, not FIPS), so the server is free to prefer ChaCha20 or X25519. The image's OpenSSL is 4.0.3 with the FIPS provider active.

Check Before After
OpenSSL functions the bridge imports (nm -D --undefined-only _native.abi3.so) EVP_DigestInit_ex EVP_sha256 SSL_CTX_new SSL_connect adds EVP_PKEY_derive, the TLS key exchange
Price list download at import, TLS 1.2 server that prefers ChaCha20 ECDHE-RSA-CHACHA20-POLY1305 ECDHE-RSA-AES256-GCM-SHA384
Price list download at import, TLS 1.3 server that offers only ChaCha20 and X25519 TLS_CHACHA20_POLY1305_SHA256 refused, falls back to the bundled copy (declared below)
/v1/messages through the bridge with fips_mode: false, same ChaCha20-preferring server 200, ECDHE-RSA-CHACHA20-POLY1305 200, ECDHE-RSA-AES256-GCM-SHA384
Price list download, server with a 2048-bit RSA certificate connects connects
Price list download, server with a 1024-bit RSA certificate, or a 2048-bit one signed by a 1024-bit CA refused: invalid peer certificate: BadSignature same
SSL_ECDH_CURVE=X25519: price list download connects, ChaCha20 connects, AES-256-GCM
SSL_ECDH_CURVE=X25519 with fips_mode: true: /v1/messages and chat with a virtual key (both on Python's client) fail: an empty reply, then 500 NO_SUITABLE_GROUPS from Python's client, and the model server gets no request same
/v1/messages with fips_mode: true (Python's client), price list download from the default GitHub URL, database TLS, client-certificate login, key hash pass pass

Type

🆕 New Feature
🚄 Infrastructure

Behavior changes

Removed / renamed

None.

Silent regressions to watch

  • FIPS image only. The bridge's HTTPS clients no longer offer ChaCha20 or X25519. A server that only accepts one of them, which is rare, now refuses the connection, as it already does for Python's clients on that image. The price list download then falls back to the bundled copy, as it does for any failed download
  • FIPS image only. The bridge's HTTPS clients now require the Extended Master Secret extension on TLS 1.2, because rustls requires it whenever the provider reports FIPS. A TLS 1.2 server that does not support it is refused (peer is incompatible: ExtendedMasterSecretExtensionRequired), and the price list download falls back to the bundled copy. TLS 1.3 servers and TLS 1.2 servers that support the extension are unaffected
  • FIPS image only. SSL_ECDH_CURVE=X25519 (or litellm.ssl_ecdh_curve) is not applied to the bridge's clients: the price list download and, with fips_mode off, the bridge's /v1/messages calls use P-256 or P-384 instead and log ssl_ecdh_curve "X25519" is not offered by the FIPS build's OpenSSL provider. A server that accepts only X25519 refuses them. With fips_mode: true those calls already go through Python's client, which fails on this setting before and after (NO_SUITABLE_GROUPS)
  • FIPS image only. The bridge's HTTPS clients refuse a server certificate chain with an RSA key of 2041 to 2047 bits (invalid peer certificate: BadSignature), where ring accepted it because it rounds the key size up to whole bytes. The FIPS module refuses RSA verification under 2048 bits itself (in the image, openssl dgst -sha256 -verify with a 2041 or 2047-bit key, PKCS#1 or PSS, fails with Error setting context, 2048 gives Verified OK), and Python's clients on the image already refused these keys before this PR. The price list download then falls back to the bundled copy
  • The standard image and the PyPI wheel build without the feature, so their compiled code does not change, and the bridge's /v1/messages client logs no new warning there. Cargo.lock gains rustls-openssl, which only the feature compiles

Migration for existing customers

None.

Regression tests

The tests above, plus the existing litellm-http suite, which runs against ring without the feature.

Caveats (if any)

Medium

  • build(rust): add the FIPS build switch the Rust bridge's OpenSSL items share #53917 adds the FIPS step to the rust-test job, which runs cargo test -p litellm-python-bridge --locked --features fips after litellm-db --features native-tls and litellm-gateway-auth-core --features fips. The job runs on main and on PRs labeled rust-tests, and this PR has the label. rust-test and rust-wheel are red on this PR for failures main has on its own: marshal_boundary flags serde_json::from_str in db_repository/user.rs, and the wheel's stubtest reports 5 errors on NativeActiveTeams and NativeSensitiveRoutePins. nextest stops at the first failure, so the FIPS step has not run in CI yet. The same commands pass on Linux at the head, apart from the logger test noted above

Low

  • Other Rust crates that bring their own TLS (the cloud SDKs) are not part of the bridge's HTTPS clients and are not changed here

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

@veria-ai

veria-ai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

All previously flagged issues have been addressed. No open security concerns remain on this pull request.

Fixed/addressed: 1 · PR risk: 0/10

Reviews

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

Comment thread litellm/rust/crates/http/src/tls.rs Resolved
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] TLS behavior changes across Rust bridge HTTPS clients in FIPS builds.

The code changes appear sound, but the redundant comments must be removed to meet the repository's explicit rule.

Findings

  1. P2 Comments repeat simple helpers ▶

Summary

The fips build uses OpenSSL for the Rust bridge's HTTPS clients. Other builds keep ring.

  • Rust bridge HTTPS clients use OpenSSL in FIPS builds.
  • HTTP clients keep default key groups when a provider lacks the chosen curve.

Reviews (14) · Last reviewed commit: "fix(rust): warn on the /v1/messages clie..." · Reviewed by Greptile

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch 2 times, most recently from 8cff0d6 to 74d6872 Compare November 20, 2026 19:56
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from ca47528 to e74a955 Compare November 20, 2026 19:57
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 74d6872 to 6ffda16 Compare November 20, 2026 20:08
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from e74a955 to f54693f Compare November 20, 2026 20:11
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 6ffda16 to d854537 Compare November 20, 2026 21:14
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from f54693f to 5ce391c Compare November 20, 2026 21:16
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from d854537 to 3498a49 Compare November 20, 2026 23:27
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from 5ce391c to 0c0ecd7 Compare November 20, 2026 23:28
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 3498a49 to ab8ed2f Compare November 20, 2026 23:30
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from 0c0ecd7 to aa57ad6 Compare November 20, 2026 23:30
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from ab8ed2f to 11ad851 Compare November 20, 2026 23:51
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from aa57ad6 to 024cde2 Compare November 20, 2026 23:51
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 11ad851 to b8666b6 Compare November 21, 2026 00:22
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from 21af815 to c534365 Compare November 21, 2026 00:40
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 0d20e57 to 8200486 Compare November 21, 2026 01:22
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from c534365 to 917f64a Compare November 21, 2026 01:22
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_key_hash_openssl branch from 8200486 to 309ea1f Compare November 23, 2026 20:52
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from 917f64a to 7f69b26 Compare November 23, 2026 20:52
@yucheng-berri
yucheng-berri changed the base branch from litellm_fips_rust_key_hash_openssl to litellm_fips_rust_build_switch November 23, 2026 20:53
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

…PS build

With the build switch's fips feature, the bridge installs rustls-openssl as the process rustls CryptoProvider when it loads, and litellm-http builds its TLS configs from the installed provider, so the FIPS image's bridge HTTPS calls do their crypto in the image's FIPS provider. The provider keeps ring's 2048 to 8192-bit RSA signature range. An ssl_ecdh_curve the provider does not offer is reported unsupported with one warning, so the bridge keeps its calls on the default groups. Builds without the feature keep ring.
@yucheng-berri
yucheng-berri force-pushed the litellm_fips_rust_http_openssl branch from 7f69b26 to 74a91d3 Compare November 23, 2026 21:12
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

…http_openssl

# Conflicts:
#	litellm/rust/crates/python-bridge/src/lib.rs
#	litellm/rust/crates/python-bridge/src/logger/tests.rs
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

Comment thread litellm/rust/crates/http/src/tls.rs Resolved
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

…e keeps the call on

The /v1/messages client hands calls with settings rustls cannot apply to
Python's transport, so it now logs only the setting it drops while keeping
the call (a curve the installed provider does not offer). The standard
build logs nothing new for that client, as on main.

The FIPS build's RSA floor stays at 2048 bits, which is the FIPS module's
own floor; the doc comment and tests now say so and cover 2047 bits.
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

resolution.config
}

/// Logs each setting in `unsupported` this process has not warned about yet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Comments repeat simple helpers

AGENTS.md permits explanatory comments only for complex logic. The new warn_once and kept_on_bridge comments restate straightforward code. Remove both before merging.

Context Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant