[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-24 15:06:26 +00:00
commit 1d3d7ef39c

View file

@ -41,9 +41,7 @@ def _normalize_stop_for_provider(
stop_max = int(provider_info.get("stop_max", 16))
stop_max_bytes_raw = provider_info.get("stop_max_bytes")
stop_max_bytes = (
int(stop_max_bytes_raw) if stop_max_bytes_raw is not None else None
)
stop_max_bytes = int(stop_max_bytes_raw) if stop_max_bytes_raw is not None else None
def allowed(s: str) -> bool:
if not s: