feat: better logs page
This commit is contained in:
parent
e387b1f16c
commit
b638dafe5f
8 changed files with 280 additions and 36 deletions
|
|
@ -307,7 +307,7 @@ func (a *agent) streamAndHandleEvents(ctx context.Context, sessionID string, msg
|
|||
}
|
||||
|
||||
// If we're approaching the context window limit, trigger auto-compaction
|
||||
if (*usage + maxTokens) >= threshold {
|
||||
if false && (*usage+maxTokens) >= threshold {
|
||||
logging.InfoPersist(fmt.Sprintf("Auto-compaction triggered for session %s. Estimated tokens: %d, Threshold: %d", sessionID, usage, threshold))
|
||||
|
||||
// Perform compaction with pause/resume to ensure safety
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue