agent: Suggest turning burn mode on when close to the context window limit (#32691)

Previously, upon getting close to reaching the context window, we'd just
suggest creating a new thread using the summary of the current one. Now,
we also suggest turning burn mode on as an alternative action to solve
the context window problem.

Release Notes:

- agent: Added a suggestion to turn burn mode on when getting close to
the context window limit.
This commit is contained in:
Danilo Leal 2025-06-13 11:41:17 -03:00 committed by GitHub
parent fcf5042007
commit d280c95d91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View file

@ -110,7 +110,7 @@ impl RenderOnce for Callout {
|this| {
this.child(
h_flex()
.gap_1()
.gap_0p5()
.when_some(self.secondary_action, |this, action| {
this.child(action)
})