change v1

This commit is contained in:
lky-spec
2026-04-25 16:18:45 +08:00
parent 737f9bca95
commit c244e4cdf1
89 changed files with 17382 additions and 6198 deletions

View File

@@ -11,8 +11,9 @@ import (
)
const (
recentConversationRounds = 3
recentConversationRounds = 6
recentConversationMessages = recentConversationRounds * 2
chatHistoryMaxTurns = recentConversationMessages * 2 // fallback cap when compression is unavailable
taskStateSummaryTokenLimit = 1200
shortTermCompressThreshold = 900
incrementalTaskStateMessages = 6