cheshire-cat-ai / core

Production ready AI agent framework
https://cheshirecat.ai
GNU General Public License v3.0
2.31k stars 316 forks source link

[Feature] Add hooks and forms used in "why" response #719

Open zAlweNy26 opened 8 months ago

zAlweNy26 commented 8 months ago

Is your feature request related to a problem? Please describe. It would be nice to see which hooks were used by the cat before generating the response.

Describe the solution you'd like The hooks used should be in the why response passed through the WebSocket.

lucagobbi commented 5 months ago

Is this still relevant? I wrote some code do that, leveraging working memory, hence it does not include those hooks in which working memory is not set yet (e.g. before_cat_bootstrap). This enhancement includes only those hooks related to chat flow, is it what we want to achieve?

zAlweNy26 commented 5 months ago

Yes it is 👍🏼

pieroit commented 1 day ago

Add used tools and hooks in why, along model_interactions and all the chronological actions the framework took. In v2 we can get rid of legacy data structure!