cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Issue while implementation of Use Genie in multi-agent systems

Ajay-Pandey
Esteemed Contributor III

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
2 REPLIES 2

Harris234
New Contributor

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.

Ajay-Pandey
Esteemed Contributor III

I tried but not working while calling agent

Ajay Kumar Pandey