Skip to main content
Resources4 min readUpdated July 2026

Troubleshooting Guide

Common errors, edge cases, and diagnostic resolutions.

Diagnosing Compression Mismatches

If compression ratio differs from target_ratio, run `analyze()` to inspect content priority tier distribution:
debug.py
from llmslim import analyze

profile = analyze(my_problematic_prompt)
print(f"Content Type: {profile.content_type}")
print(f"Priority Distribution: {profile.priority_distribution}")

Frequently Asked Questions

Why did my prompt compress by only 10% when I requested 50%?

If your input text consists almost entirely of Priority 4 imperative directives or code syntax, LLMSlim refuses to compromise instruction fidelity.

Next Recommended Guides