Skip to content

OrChat v1.4.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 11:36
· 24 commits to main since this release

πŸš€ OrChat v1.4.0 - Conversation Management Revolution

✨ Major New Feature: Smart Conversation Management

We've completely transformed how users manage their chat sessions with an AI-powered conversation management system that eliminates confusing timestamp-based session names!

🎯 What's New

πŸ€– AI-Powered Session Summaries

  • Conversations are now automatically summarized using lightweight AI models
  • Get human-readable names like "python_coding", "travel_advice", "cooking_tips" instead of "20250906_134120"
  • Smart fallback detection for common topics (coding, travel, cooking, career advice, etc.)

πŸ’Ύ Enhanced /chat Commands

  • /chat save - Save current conversation with auto-generated summary
  • /chat list - View all saved conversations with meaningful names
  • /chat resume <session> - Resume conversations by name or original ID

πŸ“Š Improved Session Display

Before:                    After:
20250906_134120           general_chat (20250906_134120)
20250906_133737           python_coding (20250906_133737)
20250906_133551           travel_advice (20250906_133551)

πŸ”§ Technical Improvements

  • Dual Format Storage: Saves both JSON (for resuming) and Markdown (for viewing)
  • Metadata System: Stores session summaries and creation timestamps
  • Backward Compatibility: Existing sessions still work with original IDs
  • Lightweight AI: Uses free models like meta-llama/llama-3.3-8b-instruct:free for summarization
  • Error Handling: Graceful fallbacks when AI summarization fails

🎨 User Experience Enhancements

  • Intuitive Session Names: No more memorizing timestamps
  • Quick Resume: Type /chat resume python_coding instead of /chat resume 20250906_133737
  • Visual Feedback: Clear status messages during save and resume operations
  • Session Statistics: Shows message count when resuming conversations

πŸ“‹ Full Changelog

✨ New Features

  • πŸ€– AI-powered conversation summarization
  • πŸ’Ύ Complete conversation management system
  • πŸ“Š Human-readable session names
  • πŸ”„ Resume conversations by name or ID
  • πŸ“ Enhanced session storage with metadata

πŸ› Bug Fixes

  • Fixed missing /chat command implementation
  • Improved error handling for session operations
  • Enhanced file format compatibility

πŸ“š Documentation

  • Updated README with conversation management guide
  • Added troubleshooting for new commands
  • Enhanced feature descriptions

πŸš€ Installation & Upgrade

# Upgrade existing installation
pip install --upgrade orchat

# Or install from source
git pull
pip install -r requirements.txt

🎯 Usage Examples

# Save current conversation
/chat save
# Output: "Conversation saved as 'python_coding'"

/chat list
# Output: 
# Saved sessions:
# python_coding (20250906_133737)
# travel_advice (20250906_133551)
# general_chat (20250906_133442)

/chat resume python_coding
# Output: "Conversation resumed from session 20250906_133737!"
#         "Loaded 8 messages from previous conversation."

πŸ™ Credits

Credit to @superfreeman1989 (#24) and @e-ndorfin (#7)