Skip to content

Commit e9d285f

Browse files
author
hemanth-asirvatham
committed
Restore version 1.1.4
1 parent 26b06d1 commit e9d285f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "openai-gabriel"
7-
version = "1.1.5"
7+
version = "1.1.4"
88
description = "LLM-based library to measure quantitative attributes on qualitative data"
99
authors = [
1010
{name = "Hemanth Asirvatham"},

src/gabriel/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.5"
1+
__version__ = "1.1.4"

src/gabriel/utils/openai_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5597,7 +5597,7 @@ async def flush() -> None:
55975597
f"API: {status.num_api_errors}, other: {status.num_other_errors})"
55985598
)
55995599

5600-
async def adjust_timeout(*, force: bool = False) -> None:
5600+
async def adjust_timeout() -> None:
56015601
nonlocal nonlocal_timeout, timeout_initialized, observed_latency_p90
56025602
if not dynamic_timeout:
56035603
return
@@ -6345,7 +6345,7 @@ def _request_phase_callback(phase_name: str, delta: int) -> None:
63456345
status.num_timeout_errors += 1
63466346
_trigger_timeout_burst(time.time())
63476347
inflight.pop(ident, None)
6348-
await adjust_timeout(force=True)
6348+
await adjust_timeout()
63496349
if isinstance(e, APITimeoutError):
63506350
base_message = "OpenAI client timed out; consider reducing concurrency."
63516351
else:

0 commit comments

Comments
 (0)