Issue while implementation of Use Genie in multi-agent systems

Ajay-Pandey
Databricks MVP

I am testing https://docs.databricks.com/aws/en/generative-ai/agent-framework/multi-agent-genie and looks code is not up to date and it is failing as longchain version upgraded to v1 from v0 that does not support post_model_hook parameter.
I tried multiple way but it is not working

Ajay Kumar Pandey

Harris234
New Contributor II

Hi Ajay, it looks like the Databricks multi-agent Genie docs haven’t been updated for langchain v1. You’ll need to remove or replace the post_model_hook parameter with the new callback or event handling mechanisms in v1. Checking the latest langchain migration guide should help adjust the code accordingly.

I tried but not working while calling agent

Ajay Kumar Pandey