Enable DeepSeek cache warming + HTTP/2 compression #17

Merged
clawdie merged 1 commit from fix/deepseek-cache-warming-http2 into main 2026-06-04 13:22:01 +02:00
Owner

Three improvements:

  1. Daemon cache warming (keeps DeepSeek prefix cached, ~3,500 free tokens/req)
  2. pi HTTP/2 (allowH2:true for HPACK compression)
  3. Live verified: cache HIT with 3,584 tokens on first warm cycle
Three improvements: 1. Daemon cache warming (keeps DeepSeek prefix cached, ~3,500 free tokens/req) 2. pi HTTP/2 (allowH2:true for HPACK compression) 3. Live verified: cache HIT with 3,584 tokens on first warm cycle
clawdie added 1 commit 2026-06-04 13:21:57 +02:00
Three improvements for DeepSeek API cost/performance:

1. Daemon cache warming: export DEEPSEEK_API_KEY, COLIBRI_CACHE_WARMING=true,
   COLIBRI_CACHE_WARMING_INTERVAL_HOURS=6 in rc.d prestart. Keeps DeepSeek
   prefix cache warm across sessions (~3,500 free tokens/request).

2. pi HTTP/2: change allowH2:false → true in http-dispatcher.js after
   npm install. Enables HPACK header compression and multiplexing for
   API calls (Node 24 + undici 8.3 handle this correctly).

3. Live verification: cache warming triggered and confirmed cache HIT
   with 3,584 hit tokens on first warm cycle.

Tested: daemon restart, cache warming log, CLI status confirms enabled.
clawdie merged commit 8733479958 into main 2026-06-04 13:22:01 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-iso#17
No description provided.