mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Improve Claude context caching to improve response cost, intelligence
Old thought messages are dropped by default by the Anthropic API. This change ensures old thoughts are kept. This should improve cache utilization to reduce costs. And keeping old thoughts may also improve model intelligence.
This commit is contained in:
@@ -85,7 +85,7 @@ dependencies = [
|
||||
"pytz ~= 2024.1",
|
||||
"cron-descriptor == 1.4.3",
|
||||
"django_apscheduler == 0.7.0",
|
||||
"anthropic == 0.52.0",
|
||||
"anthropic == 0.75.0",
|
||||
"docx2txt == 0.8",
|
||||
"google-genai == 1.52.0",
|
||||
"google-auth ~= 2.23.3",
|
||||
|
||||
Reference in New Issue
Block a user