Skip to content

Commit

Permalink
[exceptions] improve LLMRateLimitError message
Browse files Browse the repository at this point in the history
  • Loading branch information
pkelaita committed Jul 25, 2024
1 parent 919da68 commit d530a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l2m2/_internal/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ async def llm_post(
)
except httpx.ReadTimeout:
msg = (
f"Request timed out after {timeout} seconds. Try increasing the timeout"
+ ", or reducing the size of the input."
f"Request timed out after {timeout} seconds. Try increasing the timeout by passing "
+ "the timeout parameter into call, or reducing the expected size of the output."
)
raise LLMTimeoutError(msg)

Expand Down

0 comments on commit d530a70

Please sign in to comment.