Skip to content

CRITICAL: Broken Prompt Caching in v0.6.2 — Infinite loop and token bleeding draining user balances! Fix this immediately! #166

Description

@Shrinagara

Description of the Issue

Your latest silent update (v0.6.2) is an absolute disaster and a textbook definition of zero QA testing. You have completely broken DeepSeek's Prompt Caching mechanism by injecting dynamic metadata and workspace noise into the messages array on every single turn.

Instead of caching 90% of the context (which worked perfectly in previous versions and kept costs around $0.10), your new "genius" code completely invalidates the cache hash on DeepSeek's servers. As a result, users are paying maximum price for full context rescans on every single iteration.

I just lost a massive chunk of my API balance in less than an hour of normal coding because your plugin creates infinite token bleeding and fails to close streaming sessions properly.

Expected Behavior

  • 100% stable JSON structure sent to the /v1/chat/completions and /v1/embeddings endpoints.
  • Proper prompt caching hit rate (retaining cached tokens between short turns).
  • NO silent background updates that touch user billing and live production keys without explicit consent.

Actual Behavior

  • Absolute trash cache hit rate (0%).
  • Token usage spiked by 10x-20x, burning dollars instead of cents.
  • Complete stop of my workflow because my API balance went into the negative due to your untested release.

Steps to Fix for the Developers:

  1. Rollback the dynamic content injection in the messages array immediately.
  2. Strip out any fluctuating session IDs, timestamps, or workspace logs from the system prompt. Keep the context static to ensure 100% Cache Alignment.
  3. Stop pushing silent updates to production without basic automated integration tests.

Fix your code, or people will drop this extension for good. I had to manually downgrade to v0.6.0 just to stop my wallet from bleeding out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    info neededIssue requires more information from poster

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions