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:
parent
fcf5042007
commit
d280c95d91
2 changed files with 14 additions and 5 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue