teknium1
|
edb4a2bda5
|
test(telegram): cover env-clamped helper + adaptive text-batch tiers
- New tests/gateway/test_telegram_text_batch_perf.py:
TestEnvFloatClamped — 7 tests covering default-when-unset, valid
parse, garbage fallback, NaN rejection, Inf rejection, min-clamp,
max-clamp. Asserts asyncio.sleep() always gets a finite number.
TestAdaptiveTextBatchTiers — 4 tests covering the tier-constant
invariants and the min(cap, tier_delay) composition rule.
- tests/gateway/test_display_config.py: update assertions for
Telegram's new tool_progress='new' default.
|
2026-05-10 22:22:25 -07:00 |
|