Teknium
48ae8029aa
fix(delegate): resolve custom-endpoint subagent pools by endpoint identity ( #41730 )
...
Subagents delegated to a custom endpoint were misrouted when the parent
ran on a different custom endpoint. Both runtimes collapse to
provider="custom", so _resolve_child_credential_pool() treated them as
interchangeable and handed the child the parent's pool. Leasing from it
then overwrote the child's delegated base_url with the parent's endpoint
via _swap_credential() — the child sent the delegated model name to the
wrong endpoint.
Custom runtimes now resolve by endpoint identity (the custom:<name> pool
key derived from base_url). The parent pool is reused only when both
parent and child resolve to the same custom endpoint; unregistered raw
endpoints return None so the child keeps its fixed delegated credential.
Non-custom provider paths are unchanged.
Fixes #7833 .
2026-06-07 22:05:14 -07:00
..
2026-06-07 02:09:20 -07:00
2026-06-06 18:40:43 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-06-07 03:57:21 -07:00
2026-04-08 02:24:32 -07:00
2026-04-01 04:18:50 -07:00
2026-05-29 15:43:55 +10:00
2026-05-28 22:26:25 -07:00
2026-05-19 22:34:05 -07:00
2026-05-30 07:31:25 -07:00
2026-06-07 11:42:26 -06:00
2026-05-15 10:36:38 +05:30
2026-06-07 06:14:24 -07:00
2026-05-12 16:33:33 -07:00
2026-04-07 13:36:38 -07:00
2026-05-29 03:44:49 -07:00
2026-05-08 11:07:38 -07:00
2026-06-06 13:19:07 -07:00
2026-06-02 00:29:44 -07:00
2026-04-07 10:25:31 -07:00
2026-06-07 22:05:14 -07:00
2026-05-07 05:11:09 -07:00
2026-05-25 03:35:23 -07:00
2026-05-28 22:26:09 -07:00
2026-05-22 04:10:45 -07:00
2026-05-08 16:39:32 -07:00
2026-05-08 16:39:32 -07:00
2026-06-05 17:44:52 -07:00
2026-04-21 16:41:26 -07:00
2026-06-02 14:03:37 +10:00
2026-05-28 03:27:20 -07:00
2026-04-13 04:45:07 -07:00
2026-06-06 13:19:07 -07:00
2026-04-17 20:39:25 -07:00
2026-06-01 21:26:29 -07:00
2026-06-06 18:44:15 -07:00
2026-05-30 07:58:08 -07:00
2026-05-07 05:35:33 -07:00
2026-05-25 05:37:30 -07:00
2026-06-07 09:51:11 -07:00
2026-05-28 22:26:25 -07:00
2026-05-08 09:27:26 -07:00
2026-05-08 09:27:26 -07:00
2026-05-11 11:20:58 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-06-06 18:30:39 -07:00
2026-05-20 01:46:40 -05:00
2026-04-11 13:59:52 -07:00
2026-06-01 20:41:34 -05:00
2026-05-16 00:57:39 -07:00
2026-05-18 10:37:35 -07:00
2026-06-06 11:46:24 -07:00
2026-06-04 19:41:51 -05:00
2026-06-06 18:32:37 -07:00
2026-05-04 02:42:16 -07:00
2026-06-01 02:07:32 -07:00
2026-05-23 17:47:26 -07:00
2026-06-01 01:58:48 -07:00
2026-05-29 12:24:39 -07:00
2026-06-01 02:57:57 -07:00
2026-06-06 18:29:52 -07:00
2026-05-15 14:00:01 -07:00
2026-06-04 23:39:34 -07:00
2026-05-29 03:44:49 -07:00
2026-05-25 14:52:24 -07:00
2026-05-28 02:49:26 -07:00
2026-06-07 18:06:27 -07:00
2026-06-01 06:32:48 +05:30
2026-05-31 00:50:19 -07:00
2026-05-09 18:44:58 -07:00
2026-05-29 02:04:12 -07:00
2026-06-07 01:26:33 -07:00
2026-06-04 06:17:11 -07:00
2026-06-07 11:42:26 -06:00
2026-06-01 19:00:30 -07:00
2026-06-06 18:44:15 -07:00
2026-05-31 00:11:52 -07:00
2026-06-08 01:12:32 +05:30
2026-05-28 04:52:42 -07:00
2026-05-28 22:26:25 -07:00
2026-05-19 19:27:34 -07:00
2026-05-23 01:40:35 -07:00