Skip to content

Commit 5f4ffc8

Browse files
committed
Fix formatting
1 parent f9bf164 commit 5f4ffc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎cecli/coders/base_coder.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,8 +2305,8 @@ async def compact_context_if_needed(self, force=False, message=""):
23052305
# Condition 3: Absolute savings check (would compacting save enough tokens to fit?)
23062306
tokens_over_limit = all_tokens - (self.context_compaction_max_tokens or all_tokens)
23072307
potential_savings = compactable_tokens * 0.90
2308-
is_worth_by_absolute_savings = (
2309-
tokens_over_limit > 0 and potential_savings >= (tokens_over_limit * 0.50)
2308+
is_worth_by_absolute_savings = tokens_over_limit > 0 and potential_savings >= (
2309+
tokens_over_limit * 0.50
23102310
)
23112311

23122312
if not force:

0 commit comments

Comments
 (0)