AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Skip LLM execution analysis for credit exhaustion failures
Add early-exit in generate_activity_status_for_execution() that detects credit/balance exhaustion errors and returns a static ActivityStatusResponse without making an LLM call. 48% of all execution failures (1,472/3,048 in the last 24h) are credit exhaustion, each triggering a paid LLM call to conclude 'no credits.' This skips the LLM entirely for these known failures, saving ~$1-2/day. Co-authored-by: Bently <[email protected]>
O
Otto committed
63f6b5122aee1c5fcd7be812fd1a4e173f157492
Parent: 7ba0536