darvsum
bde3c7982c
fix: preserve discover_models in _normalize_custom_provider_entry
...
The _normalize_custom_provider_entry() function was dropping the
discover_models field from custom_provider entries because:
1. It was not listed in _KNOWN_KEYS, so it was logged as an
unknown key and ignored.
2. The function builds the normalized dict by explicitly copying
known fields, so even if the warning was suppressed, the value
was not carried through.
This caused downstream model_switch.py to default discover_models
to True, triggering /models HTTP probes on unreachable endpoints.
With 4 unreachable internal endpoints at ~6s timeout each, the
/api/model/options endpoint took ~24s instead of <1s.
2026-05-16 23:05:27 -07:00
..
2026-05-14 15:57:59 -07:00
2026-05-16 02:58:57 -07:00
2026-05-07 06:16:23 -07:00
2026-05-08 14:27:40 -07:00
2026-05-15 12:11:32 -07:00
2026-05-15 14:27:50 -07:00
2026-04-28 06:46:45 -07:00
2026-05-11 11:13:25 -07:00
2026-05-15 14:45:43 -07:00
2026-04-28 22:11:10 -07:00
2026-04-14 16:11:37 -07:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-04-13 16:32:04 -07:00
2026-05-13 22:54:21 -07:00
2026-05-11 11:13:25 -07:00
2026-05-15 02:31:30 -07:00
2026-05-13 17:18:15 -07:00
2026-03-30 17:07:21 -07:00
2026-05-16 12:51:08 -07:00
2026-05-13 09:34:15 -07:00
2026-05-16 23:05:27 -07:00
2026-05-11 11:13:25 -07:00
2026-05-15 01:36:03 -07:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-05-03 11:42:20 -07:00
2026-03-26 01:34:27 -07:00
2026-05-15 14:45:43 -07:00
2026-05-11 11:13:25 -07:00
2026-05-16 02:21:17 -07:00
2026-05-05 10:13:13 -07:00
2026-05-08 14:27:40 -07:00
2026-05-11 11:13:25 -07:00
2026-05-09 14:34:18 -07:00
2026-05-16 22:43:08 -07:00
2026-05-14 23:44:06 -07:00
2026-05-11 11:13:25 -07:00
2026-05-13 22:31:11 -07:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-05-12 20:49:20 -07:00
2026-05-16 22:54:22 -07:00
2026-04-11 17:23:36 -07:00
2026-05-16 22:51:51 -05:00
2026-05-15 01:43:54 -07:00
2026-05-14 07:59:38 -07:00
2026-05-08 14:27:40 -07:00
2026-05-06 09:08:33 -07:00
2026-05-11 11:13:25 -07:00
2026-05-16 02:24:48 -07:00
2026-05-06 10:05:29 -07:00
2026-05-09 14:36:58 -07:00
2026-05-07 07:18:21 -07:00
2026-04-29 21:56:51 -07:00
2026-05-16 17:15:19 -07:00
2026-05-15 22:12:57 -07:00
2026-05-08 10:04:32 -07:00
2026-05-13 09:34:15 -07:00
2026-05-15 12:11:32 -07:00
2026-05-09 12:48:14 -07:00
2026-05-11 11:13:25 -07:00
2026-05-08 14:27:40 -07:00
2026-05-15 12:11:32 -07:00
2026-05-12 01:02:25 -07:00
2026-05-16 23:00:58 -05:00
2026-05-16 16:51:42 -07:00
2026-05-15 12:11:32 -07:00
2026-04-29 04:03:03 -07:00
2026-05-11 11:13:25 -07:00
2026-05-14 23:23:32 -07:00
2026-05-08 17:01:12 -07:00
2026-05-15 10:36:38 +05:30
2026-05-11 11:13:25 -07:00
2026-04-26 20:48:20 -07:00
2026-05-08 14:27:40 -07:00
2026-05-16 17:15:19 -07:00
2026-05-11 11:13:25 -07:00
2026-04-29 07:22:33 -07:00
2026-05-06 15:49:59 -07:00
2026-05-13 22:31:11 -07:00
2026-05-11 11:13:25 -07:00