Repository navigation
Conversation
|
Tested on Windows 11 (build 10.0.26300), Python 3.14.0, fresh logs folder, using the llm-echo plugin so no API key needed. Made a 2-turn chat, then a 1-turn chat titled "café ☕ chat about cats". Then ran: All four worked. The list showed the right turn counts (2 and 1), the search and -n 1 each returned just the cats chat, and the accent and emoji printed fine in Command Prompt. Small thing: the docs example shows the time as "2025-10-15 12:00:00", but the real output has microseconds and a timezone, like "2026-10-28 23:37:01.405928+00:00". (Claude helped me set up the test.) |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #166
Adds a dedicated
llm logs conversationsCLI command to list conversations recorded in the SQLite log database, including their IDs, titles, turn counts, model, and last active timestamp.Previously, users could only view logs at the turn/response level using
llm logs list. To resume an earlier conversation withllm -c <id>, users had to dig through response logs to find the conversation ID. This command provides a high-level summary view of conversations.Features
llm logs conversationsdisplays conversation ID, timestamp, turn count, model, and conversation title/snippet.-q / --queryfilters conversations by title, snippet, or ID.-n / --countlimits the number of conversations returned (default: 10, use 0 for all).--jsonreturns the conversation list as a JSON array.-t / --truncatetruncates long titles for cleaner terminal display.threadsandturns) and legacy tables (conversationsandresponses).Example Usage