Skip to content

Commit 63042d2

Browse files
authored
Limiter defaults (#1611)
* Edit rate limit defaults * Semver
1 parent e69abc7 commit 63042d2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Set default rate limits."
4+
}

graphrag/config/defaults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
LLM_TOP_P = 1
3232
LLM_N = 1
3333
LLM_REQUEST_TIMEOUT = 180.0
34-
LLM_TOKENS_PER_MINUTE = 0
35-
LLM_REQUESTS_PER_MINUTE = 0
34+
LLM_TOKENS_PER_MINUTE = 50_000
35+
LLM_REQUESTS_PER_MINUTE = 1_000
3636
LLM_MAX_RETRIES = 10
3737
LLM_MAX_RETRY_WAIT = 10.0
3838
LLM_PRESENCE_PENALTY = 0.0

0 commit comments

Comments
 (0)