feat: max context tokens

This commit is contained in:
Acbox
2026-02-18 17:20:22 +08:00
parent 46e8a48ab8
commit 77e9f585a1
26 changed files with 277 additions and 51 deletions
+4
View File
@@ -0,0 +1,4 @@
-- 0009_message_usage
-- Add usage JSONB column to bot_history_messages for storing LLM token usage
ALTER TABLE bot_history_messages ADD COLUMN IF NOT EXISTS usage JSONB;