Abraxas-365 / langchain-rust

🦜️🔗LangChain for Rust, the easiest way to write LLM-based programs in Rust
MIT License
625 stars 83 forks source link

feat(agent): Add agent tools call messages in the agent memory. Fixes #245 #246

Closed chirino closed 1 month ago

chirino commented 1 month ago

This also better handles adding the original user input message into the agent memory. It avoids having the input string getting wrapped in additional quotes (due to json serialization).