phidatahq / phidata

Build AI Agents with memory, knowledge, tools and reasoning. Chat with them using a beautiful Agent UI.
https://docs.phidata.com
Mozilla Public License 2.0
15.63k stars 2.15k forks source link

Update assistant.py #1354

Closed smit23patel closed 2 weeks ago

smit23patel commented 1 month ago
  1. Logging Setup: Added a logging configuration to log interactions to a file named assistant_log.txt.

  2. Response Logging: Captured the assistant's response and logged both the user message and the assistant's response for better tracking of interactions.

ysolanky commented 2 weeks ago

Hi @smit23patel! Thank you very much for your contribution and effort on this PR. While this debugging method is helpful for your specific use case, we can’t adopt it as the default approach, as creating a file for debugging is not standard practice. I appreciate your understanding, and I look forward to more of your valuable contributions!