mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
The retrieve tool was injected whenever any hash=<24hex> string appeared in the restored conversation, including protected rows and caller-authored text, so a git SHA in a tool result registered a bogus hash and billed a useless retrieval round trip on every later turn. The compression service reports the hashes it actually stored in ccr_hashes; that field is now the only source, validated to the service's own 12 to 24 hex grammar before it reaches the retrieve URL. Assistant rows are no longer flattened to strings before compression: the service protects assistant text blocks but has no gate for assistant strings, so the model's own earlier tables came back as a schema line plus CSV. Adds ccr_retrieval (default true) so operators on a marker-free sidecar can turn the retrieval loop off entirely. |
||
|---|---|---|
| .. | ||
| guardrail_hooks | ||
| test_auto_router_compression.py | ||
| test_content_filter_path_traversal.py | ||
| test_content_utils.py | ||
| test_custom_code_security.py | ||
| test_deferred_guardrail_logging.py | ||
| test_guardrail_coverage.py | ||
| test_guardrail_endpoints.py | ||
| test_guardrail_registry.py | ||
| test_init_guardrails.py | ||
| test_llm_as_a_judge.py | ||
| test_mcp_jwt_signer.py | ||
| test_pillar_guardrails.py | ||
| test_prompt_security_guardrails.py | ||
| test_qostodian_nexus_guardrail.py | ||
| test_usage_endpoints.py | ||
| test_usage_tracking.py | ||