Skip to content

Commit

Permalink
update doctest to have 100 as value for default_rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0dss committed Jan 18, 2025
1 parent 3858757 commit bace78f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions edsl/language_models/LanguageModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ async def _async_get_intended_model_call_outcome(
from edsl.config import CONFIG

TIMEOUT = float(CONFIG.get("EDSL_API_TIMEOUT"))

response = await asyncio.wait_for(f(**params), timeout=TIMEOUT)
new_cache_key = cache.store(
**cache_call_params, response=response
Expand Down Expand Up @@ -571,7 +570,6 @@ def example(
return Model(skip_api_key_check=True)

def from_cache(self, cache: "Cache") -> LanguageModel:

from copy import deepcopy
from types import MethodType
from edsl import Cache
Expand Down
2 changes: 1 addition & 1 deletion edsl/language_models/key_management/KeyLookupBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class KeyLookupBuilder:
>>> builder = KeyLookupBuilder(fetch_order=("config", "env"))
>>> builder.DEFAULT_RPM
10
100
>>> builder.DEFAULT_TPM
2000000
>>> builder.fetch_order
Expand Down

0 comments on commit bace78f

Please sign in to comment.