liuhao1024
d3b2602516
fix(agent): skip /v1/models/{model} probe for unrecognised server types
...
When detect_local_server_type() returns None (e.g. LiteLLM proxies),
the unconditional GET /v1/models/{model} probe hits an admin-gated
endpoint that logs ERROR on the server side, even though the 401 falls
through gracefully.
Guard the probe behind server_type in (ollama, lm-studio, vllm, llamacpp)
so unrecognised servers skip straight to the universally-supported
/v1/models list endpoint.
Fixes #25848
2026-10-02 20:29:34 -05:00
..
2026-09-29 03:28:46 +05:30
2026-10-02 18:35:38 -05:00
2026-10-02 00:18:00 +05:30
2026-09-29 15:58:55 +05:30
2026-10-02 20:28:58 -05:00
2026-09-28 19:49:00 -04:00
2026-09-28 12:43:03 -07:00
2026-09-29 15:58:55 +05:30
2026-09-28 06:06:17 -07:00
2026-10-01 22:43:34 +05:30
2026-10-01 23:33:52 +05:30
2026-10-01 12:08:13 -07:00
2026-09-28 12:43:03 -07:00
2026-09-29 18:33:44 +05:30
2026-09-29 04:15:21 +05:30
2026-09-28 12:53:29 -05:00
2026-09-27 18:20:40 +05:30
2026-09-27 18:27:37 +05:30
2026-10-01 02:28:11 +00:00
2026-09-29 04:15:21 +05:30
2026-09-29 15:58:55 +05:30
2026-09-27 18:37:01 +05:30
2026-09-29 18:47:44 -05:00
2026-09-29 15:58:55 +05:30
2026-09-29 11:43:34 -05:00
2026-09-29 02:47:39 +05:30
2026-09-28 05:37:55 -07:00
2026-09-29 22:57:48 -04:00
2026-09-29 19:31:49 -05:00
2026-10-02 00:03:01 +05:30
2026-10-02 01:18:03 +05:30
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-01 02:55:59 -05:00
2026-10-01 09:26:00 -04:00
2026-09-30 22:30:35 -04:00
2026-09-28 02:26:21 -07:00
2026-10-02 16:44:56 -07:00
2026-10-01 23:50:31 -07:00
2026-10-02 05:10:06 -07:00
2026-10-02 04:09:57 -07:00
2026-10-02 04:39:28 -07:00
2026-10-02 04:39:28 -07:00
2026-09-29 03:30:52 +05:30
2026-10-02 12:29:16 -04:00
2026-09-30 23:18:06 -05:00
2026-10-02 20:28:55 -05:00
2026-09-28 03:34:07 -07:00
2026-10-02 20:29:34 -05:00
2026-10-01 23:39:32 +05:30
2026-10-01 16:18:23 +05:30
2026-10-01 16:18:23 +05:30
2026-09-30 14:23:51 -04:00
2026-10-01 11:45:41 -07:00
2026-10-02 00:52:27 +05:30
2026-10-02 00:52:27 +05:30
2026-10-01 12:08:13 -07:00
2026-09-29 18:49:11 -05:00
2026-09-29 18:05:05 -05:00
2026-09-28 12:43:03 -07:00
2026-10-02 18:35:38 -05:00
2026-10-02 12:29:16 -04:00
2026-10-01 16:18:23 +05:30
2026-10-02 00:52:27 +05:30
2026-10-02 16:29:18 -05:00
2026-09-29 12:16:43 -04:00
2026-10-01 16:18:23 +05:30
2026-09-28 05:37:55 -07:00
2026-10-02 00:50:20 +05:30
2026-09-28 11:29:49 -05:00
2026-10-02 01:18:03 +05:30
2026-09-29 22:57:48 -04:00
2026-09-29 18:33:44 +05:30
2026-09-28 12:23:25 -07:00
2026-10-02 20:18:26 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-09-28 12:23:25 -07:00
2026-10-02 00:53:19 +05:30
2026-09-29 14:53:00 -05:00
2026-09-29 02:06:58 +05:30
2026-09-28 10:11:33 -07:00
2026-10-01 00:42:30 -05:00
2026-09-29 15:57:52 -05:00
2026-10-02 00:50:20 +05:30
2026-09-27 20:45:44 +05:30
2026-09-27 13:20:28 -05:00
2026-10-01 03:27:39 -05:00
2026-09-28 17:59:17 +05:30
2026-10-02 00:50:20 +05:30
2026-10-02 13:50:23 -04:00