We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4013d70 commit 130f8a6Copy full SHA for 130f8a6
edsl/language_models/key_management/KeyLookupBuilder.py
@@ -54,8 +54,12 @@ class KeyLookupBuilder:
54
('openai', 'rpm')
55
"""
56
57
- DEFAULT_RPM = 10
58
- DEFAULT_TPM = 2000000
+ # DEFAULT_RPM = 10
+ # DEFAULT_TPM = 2000000
59
+ from edsl.config import CONFIG
60
+
61
+ DEFAULT_RPM = CONFIG.get("EDSL_SERVICE_RPM_BASELINE")
62
+ DEFAULT_TPM = CONFIG.get("EDSL_SERVICE_TPM_BASELINE")
63
64
def __init__(self, fetch_order: Optional[tuple[str]] = None):
65
if fetch_order is None:
0 commit comments