Skip to content

Commit 367ade3

Browse files
authored
Clarify usage limits priority in docs (#2576)
1 parent fc6aabb commit 367ade3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/agents.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ except UsageLimitExceeded as e:
619619
2. This run will error after 3 requests, preventing the infinite tool calling.
620620

621621
!!! note
622-
This is especially relevant if you've registered many tools. The `request_limit` can be used to prevent the model from calling them in a loop too many times.
622+
- Usage limits are especially relevant if you've registered many tools. The `request_limit` can be used to prevent the model from calling them in a loop too many times.
623+
- These limits are enforced at the final stage before the LLM is called. If your limits are stricter than your retry settings, the usage limit will be reached before all retries are attempted.
623624

624625
#### Model (Run) Settings
625626

0 commit comments

Comments
 (0)