AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Revise budget manager

Open collijk opened this issue 2 years ago • 3 comments

This PR contains revisions to the BudgetManager base class as it's integrated into the hello world application described in #3969

collijk avatar May 09 '23 03:05 collijk

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) May 9, 2023 3:27am

vercel[bot] avatar May 09 '23 03:05 vercel[bot]

Codecov Report

Patch coverage has no change and project coverage change: -0.33 :warning:

Comparison is base (b2ffa0a) 53.78% compared to head (aecd427) 53.45%.

Additional details and impacted files
@@                      Coverage Diff                      @@
##           agent-state-encapsulation    #4040      +/-   ##
=============================================================
- Coverage                      53.78%   53.45%   -0.33%     
=============================================================
  Files                             97       97              
  Lines                           3754     3777      +23     
  Branches                         638      656      +18     
=============================================================
  Hits                            2019     2019              
- Misses                          1596     1619      +23     
  Partials                         139      139              
Impacted Files Coverage Δ
autogpt/core/budget/base.py 0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar May 09 '23 03:05 codecov[bot]

in the mid-term, the "budget manager" should probably become a "constraint manager" as per #3466 (quotas) and if in doubt, the budget manager would merely implement the interface of an abstract base class to manage constraints in general, without those having to be specific to things like an API budget.

Boostrix avatar May 09 '23 06:05 Boostrix