Austin Pickett
81f481b2db
fix(agent): carry a custom provider's extra_body into TUI/Desktop agents and aux calls
...
TUI/Desktop `_make_agent` (plus `hermes -z` and ACP) built AIAgent without the
resolver's `request_overrides`, so a custom entry's `extra_body` only reached
the agent through the init-time re-derivation, which matches `custom:*` alone.
Auxiliary requests never read the entry's `extra_body` at all. A proxy that
requires a body field (`user`) therefore 400'd in the app and on smart
approval while `hermes chat` worked.
- Pass `runtime["request_overrides"]` at every remaining AIAgent build site
(ACP only when no explicit base_url points at another endpoint).
- `_build_call_kwargs` layers the destination entry's `extra_body` under the
task/caller body, using the agent's own matcher, so primary, retry and
fallback requests each get their own endpoint's body and nothing leaks.
Covers holes 1 and 3 of #103738 ; hole 2 (matching bare/unprefixed names) is
#124290 and is untouched here.
2026-09-28 19:49:00 -04:00
..
2026-09-29 03:28:46 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-29 04:15:21 +05:30
2026-09-28 12:53:29 -05:00
2026-09-28 12:23:25 -07:00
2026-09-29 04:15:21 +05:30
2026-09-28 14:16:18 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 19:49:00 -04:00
2026-09-27 04:59:47 -04:00
2026-09-28 10:21:41 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 12:43:03 -07:00
2026-09-27 18:38:58 +05:30
2026-09-28 14:16:18 -07:00
2026-09-29 04:15:21 +05:30
2026-09-26 23:49:25 +05:30
2026-09-28 11:29:49 -05:00
2026-09-27 20:45:56 +05:30
2026-09-29 04:15:21 +05:30
2026-09-29 04:15:21 +05:30
2026-09-26 11:22:06 -07:00
2026-09-27 18:37:01 +05:30
2026-09-28 10:21:41 -07:00
2026-09-26 17:59:52 -05:00
2026-09-27 00:04:22 +05:30
2026-09-28 12:43:03 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
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-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-27 02:02:41 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 12:43:03 -07:00
2026-09-29 04:15:21 +05:30
2026-09-27 20:45:44 +05:30
2026-09-29 04:15:21 +05:30
2026-09-29 04:15:21 +05:30
2026-09-28 10:21:41 -07:00
2026-09-27 01:55:21 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-27 00:38:34 +05:30
2026-09-26 17:59:52 -05:00
2026-09-28 10:21:41 -07:00
2026-09-26 22:21:47 +05:30
2026-09-27 02:48:48 -05:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 11:29:49 -05:00
2026-09-27 01:10:56 +05:30
2026-09-28 14:16:18 -07:00
2026-09-29 04:15:21 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-26 23:49:25 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 14:16:18 -07:00
2026-09-27 02:22:23 +05:30
2026-09-28 10:21:41 -07:00
2026-09-26 21:00:46 -05:00
2026-09-28 10:21:41 -07:00
2026-09-26 20:40:40 -05:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-29 04:15:21 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 14:16:18 -07:00
2026-09-29 02:47:39 +05:30
2026-09-28 12:43:03 -07:00
2026-09-27 02:02:41 +05:30
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-26 17:15:30 -05:00
2026-09-28 10:21:41 -07:00
2026-09-26 23:49:25 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00