falkoro
9ad912a791
fix(agent): honor auxiliary.<task>.base_url/api_key when provider is passed explicitly
...
_resolve_task_provider_model returns early on an explicit provider arg,
which skips the config block that consults auxiliary.<task>.base_url /
api_key. Any caller passing provider explicitly (e.g.
resolve_vision_provider_client(provider="custom", ...)) bypasses the
configured custom endpoint and falls through to main-runtime resolution,
silently routing the task to the wrong backend.
Adopt the task's configured base_url/api_key before the early returns,
but only when no explicit base_url was given and the config targets the
same provider (or names none) — a caller forcing a *different* provider
keeps full explicit-arg priority, and an explicit base_url still wins
over config.
Fixes #58515
2026-07-05 14:41:43 -07:00
..
2026-07-05 13:42:46 -07:00
2026-07-05 13:42:46 -07:00
2026-06-08 22:46:57 -07:00
2026-07-05 13:40:21 -07:00
2026-05-28 00:20:11 -07:00
2026-06-12 08:51:10 +00:00
2026-07-05 00:44:15 -07:00
2026-07-06 02:36:52 +05:30
2026-07-04 15:16:13 +05:30
2026-05-15 14:00:01 -07:00
2026-07-05 14:41:43 -07:00
2026-05-18 10:14:38 -07:00
2026-07-01 16:21:39 +05:30
2026-06-15 05:25:17 -07:00
2026-06-19 01:53:32 +05:30
2026-07-05 14:00:20 -07:00
2026-05-17 04:04:15 -07:00
2026-05-29 04:22:27 -07:00
2026-07-04 15:44:50 -07:00
2026-07-05 06:29:45 -07:00
2026-07-05 06:29:45 -07:00
2026-06-30 00:59:59 -05:00
2026-06-29 09:18:10 -04:00
2026-07-05 21:41:44 +05:30
2026-07-01 13:36:50 +05:30
2026-07-01 02:43:49 -07:00
2026-07-04 21:04:27 +05:30
2026-07-05 13:44:33 -07:00
2026-06-28 22:52:51 -07:00
2026-07-02 13:17:41 -07:00
2026-07-02 13:17:41 -07:00
2026-07-02 13:17:41 -07:00
2026-06-12 08:51:10 +00:00
2026-07-05 13:42:46 -07:00
2026-06-28 15:10:21 -07:00
2026-06-29 20:31:17 -07:00
2026-07-05 02:05:51 -07:00
2026-06-13 21:14:32 -07:00
2026-07-03 18:47:53 +05:30
2026-07-05 14:00:20 -07:00
2026-06-03 12:00:27 -07:00
2026-06-18 22:13:07 -07:00
2026-05-13 22:31:28 -07:00
2026-07-05 03:15:03 -07:00
2026-06-07 18:33:20 -07:00
2026-05-16 17:59:32 -07:00
2026-05-28 00:20:11 -07:00
2026-06-30 16:56:01 -07:00
2026-07-05 00:59:35 -07:00
2026-07-01 16:25:48 -05:00
2026-06-30 15:16:21 -05:00
2026-05-11 16:49:13 -07:00
2026-07-02 04:20:43 -07:00
2026-06-21 12:03:46 -07:00
2026-06-19 15:23:41 +08:00
2026-06-25 12:24:34 -05:00
2026-07-04 20:59:02 +05:30
2026-07-01 04:07:46 -07:00
2026-07-03 03:36:22 +05:30
2026-05-27 00:43:32 -07:00
2026-06-13 05:51:41 -07:00
2026-07-05 23:00:34 +05:30
2026-06-23 08:01:50 +00:00
2026-05-10 07:09:28 -07:00
2026-05-12 20:49:20 -07:00
2026-07-05 03:14:55 -07:00
2026-06-28 20:46:32 -07:00
2026-07-04 13:54:27 +05:30
2026-06-25 19:00:48 -07:00
2026-07-05 13:58:19 -07:00
2026-06-27 20:56:49 -07:00
2026-06-25 00:17:17 -07:00
2026-06-02 20:23:09 +00:00
2026-06-19 07:34:15 -07:00
2026-07-05 13:51:26 -07:00
2026-05-18 21:38:05 -07:00
2026-07-05 02:20:01 -07:00
2026-06-28 05:28:45 -07:00
2026-06-25 22:03:02 -07:00
2026-06-13 21:14:32 -07:00
2026-07-02 04:51:56 +05:30
2026-05-28 04:53:27 -07:00
2026-07-01 04:55:15 -07:00
2026-06-22 06:42:30 -07:00
2026-06-25 19:00:48 -07:00
2026-06-30 17:28:33 -07:00
2026-07-01 04:18:48 -07:00
2026-07-01 02:44:09 -07:00
2026-07-06 02:36:52 +05:30
2026-05-19 00:12:12 -07:00
2026-05-13 06:46:23 -07:00
2026-05-25 01:41:19 -07:00
2026-05-25 01:41:19 -07:00
2026-05-24 18:04:54 -07:00
2026-05-24 18:04:54 -07:00
2026-07-05 13:51:26 -07:00
2026-07-01 03:34:49 -07:00
2026-07-01 05:25:33 -07:00
2026-07-02 13:52:42 -07:00
2026-06-24 23:03:45 -05:00
2026-06-30 01:43:08 -05:00
2026-06-30 00:59:29 -05:00
2026-07-02 06:07:56 +05:30
2026-05-13 16:39:41 -07:00
2026-05-13 16:39:41 -07:00
2026-05-28 04:52:42 -07:00
2026-05-28 04:52:42 -07:00