LibreChat/api/server/utils/import
Jakub Fidler 180d0f18fe
🐛 fix: ChatGPT import creating fragmented conversation tree (#11123)
- Use ChatGPT timestamps (create_time) for proper message ordering
- Fallback to conv.create_time for null timestamps
- Adjust timestamps so children are always after parents
- Guard against circular references in findThinkingContent
- Skip thoughts and reasoning_recap messages (merged into responses)
- Add comprehensive timestamp ordering tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:31:18 -05:00
..
__data__ 🎥 feat: YouTube Tool (#5582) 2025-01-31 19:11:04 -05:00
fork.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
fork.spec.js 🏷️ fix: Increment Tag Counters When Forking/Duplicating Conversations (#9737) 2025-09-19 22:02:09 -04:00
importBatchBuilder.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
importConversations.js ⚖️ fix: Add Configurable File Size Cap for Conversation Imports (#10012) 2025-10-07 14:47:21 -04:00
importers-timestamp.spec.js 🐛 fix: ChatGPT import creating fragmented conversation tree (#11123) 2025-12-29 21:31:18 -05:00
importers.js 🐛 fix: ChatGPT import creating fragmented conversation tree (#11123) 2025-12-29 21:31:18 -05:00
importers.spec.js 🐛 fix: ChatGPT import creating fragmented conversation tree (#11123) 2025-12-29 21:31:18 -05:00
index.js ℹ️ refactor: Remove use of Agenda for Conversation Imports (#3024) 2024-06-10 13:00:34 -04:00