Generate `--repl` and `--chat` tags automatically
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.3k
- Forks
- 976
- PR merge metrics
- No merged PRs in 30d
Description
One annoying part of sgpt workflow right now is having to come up with conversation tags beforehand. Things like ChatGPT web UI will title the conversations automatically so there's no toil on the user side.
We could auto-gen the tag based on the first prompt. Picturing something like
$ sgpt --auto --chat "Is tomato really a fruit?"
Autotag: fruit_discussion
Yes, a tomato is scientifically classified as a fruit because it develops from the ovary of a flower...
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 by tracing the existing --chat and --repl argument handling and how conversation tags are created. Define how the first prompt should produce a tag and how the generated tag is shown, then verify the behavior for the example command and both automatic-tag options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100