Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactoring] Logger Usage and Chat Message Display Enhancement #22

Open
brunocapelao opened this issue Jan 6, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@brunocapelao
Copy link
Owner

Detailed Description:

  • Currently, various components of MiniAutoGen use the print function to display messages and errors. The proposal is to replace these calls with the use of the logging module, providing a more flexible and robust way to log events. Additionally, there is a need to implement a more effective method for users to track the chat history, replacing the simple use of print with a way to view received messages in an organized and chronological manner.

Reproduction Steps (if applicable):

  • Not applicable, as this is an improvement in code structure and user experience.

Solution Proposals:

  1. Logger Implementation: Replace all instances of print with the use of the logging module, configuring different log levels (such as INFO, ERROR, etc.) as appropriate.
  2. Chat Display Enhancement:
    • Develop a function or component that accumulates and displays the chat message history in a clear and readable manner, possibly in a tabular or similar format.
    • This function should be capable of showing messages with their senders, timestamps, and content in an organized way.
  3. Documentation Update: Document the changes and guide how to view the chat history and interpret the logs.

Acceptance Criteria:

  • All print statements must be replaced with the use of the logging module.
  • An efficient and organized system for viewing the chat history must be implemented.
  • Existing functionality should be maintained, with improvements in tracking capability and user experience.
  • The documentation should be updated to reflect the implemented changes.
@brunocapelao brunocapelao added the enhancement New feature or request label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant