OrbitPilot Conversations — Browse, Search, Continue, Delete
Your conversations are saved — and useful
Every chat with OrbitPilot is stored as a conversation thread. Threads do two things: you can reopen and continue them any time, and (when the "Chat History" source is enabled) OrbitPilot's memory learns from them — so it can recall what you discussed last week.
The History page
Open OrbitPilot → History (/orbitpilot/history/):
- Browse — newest conversations first, 10 per page, with a preview of how each one started.
- Search — the search box matches anything you or OrbitPilot said, across all your threads.
- Open & continue — opens the full thread with an ask box that continues it; OrbitPilot remembers the recent turns of that thread. You can also always start a brand-new conversation instead.
- Delete — removes a thread permanently. It also disappears from OrbitPilot's memory at the next build or refresh.
Follow-ups just work
After any answer, the "Ask a follow-up" box continues the same conversation automatically — including from the home-page chat widget, which keeps its own thread per visit.
For developers
Threads: OrbitPilotConversation/OrbitPilotMessage.
The ask view resolves the thread as: explicit conversation_id
(ownership enforced) → most recent (-updated_at, -pk) → create;
a new_conversation=1 flag always starts fresh. Never use
get_or_create(user, is_guest=False) — users legitimately hold
multiple threads and it raises MultipleObjectsReturned (fixed 2026-07-24).
History search is messages__content__icontains + distinct;
the AI-facing side is the orbitpilot.chat_history source
(_extract_chat_history).