mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 14:43:07 +00:00
1. Main fix: when we don't have a response format or middleware, don't draw a conditional edge back to the loop entrypoint (self loop on model) 2. Supplementary fix: when we jump to `end` and there is an `after_agent` hook, jump there instead of `__end__` Other improvements -- I can remove these if they're more harmful than helpful 1. Use keyword only arguments for edge generator functions for clarity 2. Rename args to `model_destination` and `end_destination` for clarity