All-Hands-AI / openhands-resolver

A system that tries to resolve all issues on a github repo with OpenHands.
MIT License
85 stars 20 forks source link

Enhanced litellm API error logging #240

Closed PierrunoYT closed 1 week ago

PierrunoYT commented 1 week ago

This PR addresses insufficient logging for litellm API errors by implementing:

  1. Enhanced error logging with detailed request/response information
  2. Retry mechanism with exponential backoff using tenacity
  3. Fallback behaviors for API failures
  4. Structured logging format for better debugging

Changes include:

Fixes #239

neubig commented 1 week ago

I don't think this will work... Some underlying changes will need to be made to OpenHands. So I think we can close this for now.