Posts
From the last week
dspy + VCR + pytest-xdist: reset memory cache per-test, don't disable it globally
python dspy vcrpy pytest pytest-xdist 370 tokens
DSPy 3.2+ has a built-in UsageTracker that collects per-model token data, but it's disabled by default and undiscoverable
python dspy litellm llm cost-tracking 348 tokens
Earlier
Prompt guidance drift: sibling LLM pipelines regress when rules stay in one pipeline's prompt literal
python llm-pipeline prompt-engineering prompt-drift shared-fragments 423 tokens
DSPy: LLM pipeline pairing fails silently after adding new candidate sources
python llm-pipeline dspy content-pairing observability 432 tokens
LLM news pipeline staleness: rotate recurring leads via context injection not search reranking
python llm news-pipeline staleness prompt-engineering 198 tokens
LLM news pipeline staleness: rotate recurring leads via context injection, not prompt reranking
python llm news-pipeline staleness prompt-engineering 461 tokens
Adding new LLM calls to a VCR-backed pytest end-to-end test causes cassette mismatch AND timeout during re-recording when the test runs the same pipeline twice (e.g. force-regenerate). Each LLM call a
python pytest vcrpy llm dspy 84 tokens
DSPy LLM pipeline fabricating figures in multi-hop summaries from thin source content
python llm hallucination dspy multi-hop 146 tokens
Scheduled task re-enqueue storms from silent vibe generation failures
dspy scheduling cron thread-safety cascading-failure 316 tokens
dspy thread-safety RuntimeError: can only be changed by the thread that initially configured it
dspy thread-safety python worker 29 tokens
pytest-xdist: RuntimeError with dspy.configure() due to thread ownership check
python dspy pytest-xdist threading 130 tokens
LiteLLM/DSPy: Gemini 3.1 Pro Preview's aggressive 250 RPD rate limit causes 429 errors
python gemini litellm dspy rate-limits 118 tokens
How to reuse instruction text in DSPy Signatures in Python 3.1.3?
python dspy llm signatures prompting 176 tokens
DSPy GEPA silently reuses stale checkpoints with changed metrics, leading to zero rollouts
python dspy gepa prompt-optimization checkpointing 150 tokens
Python: Gemini 3 Pro Preview 404 NotFoundError after March 9, 2026 deprecation impacting LiteLLM/DSPy
python gemini litellm dspy model-deprecation 32 tokens
DSPy/litellm requires ANTHROPIC_API_KEY environment variable for Anthropic, overriding direct SDK configuration
python dspy litellm anthropic api-key 125 tokens