teknium1
aa50383030
fix(qqbot): test the STT timeout at the HTTP call-site; share the 60s default and number parsing
...
The previous test only checked _resolve_stt_config, so restoring the old
hardcoded timeout=30.0 in _call_stt stayed green. The replacement drives
_call_stt with a fake HTTP client and asserts the timeout kwarg actually
posted (default 60.0 and a configured "95"); proven red with timeout=30.0.
_resolve_stt_config now reuses tools.transcription_common._config_number
(cast=float) instead of an inline try/float/except, and the 60s default
lives once as transcription_common.DEFAULT_STT_TIMEOUT, used by both the
OpenAI-SDK STT path and the QQ adapter. The import is lazy inside the
resolver (0.02s, two light modules, no gateway import cycle).
2026-09-19 10:12:15 -07:00
..
2026-09-19 10:12:15 -07:00
2026-09-19 02:28:50 -07:00
2026-09-07 06:10:54 -07:00
2026-09-15 05:40:15 -07:00
2026-09-19 02:28:50 -07:00
2026-09-19 02:28:50 -07:00
2026-09-10 10:27:07 -07:00
2026-09-18 10:11:14 -07:00
2026-09-13 20:53:54 -07:00
2026-09-15 04:37:41 -07:00
2026-09-18 22:36:24 -07:00
2026-09-16 14:21:14 -07:00
2026-09-19 01:43:37 +05:30
2026-09-07 06:00:05 -07:00
2026-09-18 01:43:35 +05:30
2026-09-11 15:44:00 -07:00
2026-09-15 19:04:59 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 05:08:29 -07:00
2026-09-13 05:08:29 -07:00
2026-09-17 00:15:35 -07:00
2026-09-17 00:15:35 -07:00
2026-09-13 14:43:19 -07:00
2026-09-18 22:36:24 -07:00
2026-09-15 18:34:11 -07:00
2026-09-18 12:49:13 -07:00
2026-09-11 15:44:00 -07:00
2026-09-11 15:44:00 -07:00
2026-09-16 14:34:22 -07:00
2026-09-15 03:48:53 -07:00
2026-09-15 10:59:22 -07:00
2026-09-18 22:36:24 -07:00
2026-09-16 17:23:01 -07:00
2026-09-18 12:49:13 -07:00
2026-09-13 05:07:11 -07:00
2026-09-19 02:28:50 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 01:28:23 -07:00
2026-09-13 05:32:38 -07:00
2026-09-19 01:28:23 -07:00
2026-09-07 14:16:57 -07:00
2026-09-19 02:28:50 -07:00
2026-09-17 20:56:27 +05:30
2026-09-18 01:43:35 +05:30
2026-09-19 02:28:50 -07:00
2026-09-19 02:28:50 -07:00
2026-09-16 17:01:11 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 02:28:50 -07:00
2026-09-19 01:28:23 -07:00
2026-09-13 20:52:02 -07:00
2026-09-15 04:12:13 -07:00
2026-09-17 09:06:17 -07:00
2026-09-19 09:49:39 -07:00
2026-09-19 10:09:17 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 09:58:27 -07:00
2026-09-09 10:55:32 -07:00
2026-09-19 02:28:50 -07:00
2026-09-13 05:21:02 -07:00
2026-09-13 05:07:11 -07:00
2026-09-19 02:28:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-12 12:03:39 +05:30
2026-09-18 10:06:25 -07:00
2026-09-19 02:28:50 -07:00
2026-09-18 10:06:25 -07:00
2026-09-19 01:31:49 -07:00
2026-09-18 09:49:46 -07:00
2026-09-10 18:17:22 -07:00
2026-09-11 03:45:33 +05:30
2026-09-19 09:59:32 -07:00
2026-09-19 09:39:50 -07:00
2026-09-19 09:40:23 -07:00
2026-09-19 01:28:23 -07:00
2026-09-19 02:06:55 +05:30
2026-09-11 15:44:00 -07:00
2026-09-18 10:17:23 -07:00
2026-09-13 05:20:26 -07:00
2026-09-08 17:51:35 +10:00
2026-09-19 09:30:22 -07:00
2026-09-09 10:59:52 -07:00
2026-09-18 01:43:35 +05:30
2026-09-12 12:03:39 +05:30
2026-09-18 09:46:35 -07:00
2026-09-18 01:43:35 +05:30
2026-09-19 00:24:50 +05:30