Files
EvoScientist-Multi/EvoScientist/middleware
m4 3683cbfc13 fix: propagate streamed-model attempt id via shared configurable
The legacy BaseChatModel.astream path does not forward run_manager to
_astream, so the per-call tracing run_id was unreachable and the stream
fell back to the conversation run_id, which the gateway's
verify_model_attempt rejected (401 RUN_ATTEMPT_NOT_ACCEPTED). Publish the
tracing run_id into the shared configurable dict from
on_chat_model_start and read it back in _attempt_id.
2026-08-20 15:32:18 +08:00
..
2026-07-03 11:16:33 +02:00