5 Commits

Author SHA1 Message Date
kshitijk4poor
1e04c64ef3 fix(stream_diag): feed the existing chunk-body upstream_provider into diag + hook payload (#90216)
Drop the duplicate chunk-reading helper, run_agent facade forward and
_last_serving_provider agent state; the chat-completions loop already captures
chunk.provider, so stamp it on the per-attempt diag there and read the hook's
upstream_provider from the assembled response.provider.
2026-09-24 22:25:06 +05:30
Teknium
1c1fa21d17 refactor(agent/api_request_hooks,activity_tracking): try/except-pass → suppress 2026-09-02 20:10:26 -07:00
Teknium
a5e537cfa9 refactor(agent/agent_init): wip checkpoint — phase-helper split of init, param tables, header factory table, compression parse helpers; mixin compaction 2026-09-02 19:07:13 -07:00
Teknium
d69afde2d3 refactor(run_agent): drop unused logger in api_request_hooks 2026-09-02 13:29:40 -07:00
Teknium
64cc8cf0d3 refactor(run_agent): extract ApiRequestHooksMixin (agent/api_request_hooks.py) 2026-09-02 13:29:40 -07:00