Skip to content

Commit ee1e5c0

Browse files
lint
1 parent a3287b5 commit ee1e5c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/en/latest/plugins/ai-rate-limiting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The `ai-rate-limiting` plugin enforces token-based rate limiting for requests se
4747
| `rejected_msg` | string | false | The response body returned when a request exceeding the quota is rejected. |
4848

4949
If `limit` is configured, `time_window` also needs to be configured. Else, just specifying `instances` will also suffice.
50+
5051
## Example
5152

5253
Create a route as such and update with your LLM providers, models, API keys, and endpoints:

t/plugin/ai-rate-limiting.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ __DATA__
238238
limit = 30,
239239
time_window = 60,
240240
}
241-
},
241+
},
242242
}
243243
}
244244
local core = require("apisix.core")

0 commit comments

Comments
 (0)