Add option to list the nth log? eg: second last log
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 998
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
Using llm logs -n (or llm logs -r) I'm able to lists the last log. Similarly, accessing the second or third last log - or even the nth log - is a natural use case.
Hope I've not missed an obvious way to achieve this. The contributors have probably already thought of implementing this, but I wanted to ask if this is something that'd be added in the short-term?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the llm logs command entry point and inspect how the existing -n or -r option selects the last log. Determine how an nth or second-last position should be expressed, then verify that the command returns the requested log consistently. No file or test path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100