mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
The one risk point that I can see here is that model + tool call counting now occurs in the `after_model` hook which introduces order dependency (what if you have HITL execute before this hook and we jump early to `model`, for example). This is something users can work around at the moment and we can document. We could also introduce a priority concept to middleware.