mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
* Clean up manual sleep * Add default retries and document them. * Add doctrings to llm * Add exponential backoff for rate limiting errors * Get embeddings for the action and its own content, not the user message * Add a few bad exceptions to stop loop * Stop loop when the step has no action * Add action with content, no message, to history * make retry settings customizable * fix condense to stop the loop for the same reasons as completion * Add 500-504 exception to retries * document the retry variables * Add retries and limits for embeddings. Replaces llama-index hard-coded decorator. * Rename to retry_min_wait and retry_max_wait