Issue: No way to attach request-scoped listener metadata
Issue: No way to attach request-scoped listener metadata: a task in LegoFlow-SWE (Harbor dataset). When implementing a ChatModelListener , the ChatModelRequestContext , ChatModelResponseContext , and ChatModelErrorContext objects passed to listener methods ( onRequest , onResponse , onError ) have…
The task
When implementing a `ChatModelListener`, the `ChatModelRequestContext`, `ChatModelResponseContext`, and `ChatModelErrorContext` objects passed to listener methods (`onRequest`, `onResponse`, `onError`) have an `attributes()` map that is initially empty. There is currently no mechanism to provide custom,…
Part of Lego-X/LegoFlow-SWE.