Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple conversations? #38

Open
bytesoverflow opened this issue Nov 5, 2024 · 6 comments
Open

Multiple conversations? #38

bytesoverflow opened this issue Nov 5, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@bytesoverflow
Copy link

Hi! 👋

I've been using Smartcat and it's awesome - really enjoying it so far!

Have you given any thought to allowing multiple conversations? Something like being able to switch between different chats or pick up where I left off in previous chats.

I often find myself wanting to keep different topics separate or refer back to earlier conversations without losing my current one.

Thanks for making such a great tool!

@efugier efugier added the enhancement New feature or request label Nov 5, 2024
@efugier
Copy link
Owner

efugier commented Nov 5, 2024

Hey thanks for the kind words 🙂

I definitely have but never really had use for it so I didn't bother the implementing that extra layer of complexity into the tool!

I guess in terms of API I could do something like passing a conversation name after the -e, that would keep the default behavior as is but I am not sure how easy or intuitive it would be.

I often find myself wanting to keep different topics separate or refer back to earlier conversations without losing my current one.

Can you tell me more about these use cases? Some concrete examples and how they fit in your typical workflow?

@bytesoverflow
Copy link
Author

I bounce between using smartcat in the terminal and in neovim (extending context with the -e flag in both). When I switch between them, one wipes out the other's conversation.

Also, I made a neovim plugin that open a split window for smartcat chats and it would be great to have multiple going at once - working through different problems at the same time.

I was trying to think of ways to handle this in the API but nothing noteworthy came to mind.

@bytesoverflow
Copy link
Author

bytesoverflow commented Nov 5, 2024

How about adding an option to provide a conversation name?

sc --name <name> [INPUT_OR_TEMPLATE_REF] [INPUT_IF_TEMPLATE_REF]
- Saved in ~/.config/smartcat/conversations/<name>.toml
- If the conversation doesnt exist, create it.
- If -e is not specified, reset the conversation as usual
- If -e is specified, extend the conversation as usual
- Perhaps --list to list existing conversations?

@efugier
Copy link
Owner

efugier commented Nov 5, 2024

That sounds great! I've got a lot on my hands atm but I'd be happy to add it.

Otherwise welcoming PRs :)

@bytesoverflow
Copy link
Author

I'm not a Rustacean but I'll give it a go anyway and see how far I can get...

@efugier
Copy link
Owner

efugier commented Nov 5, 2024

Don't sweat it, also if you can wait I'll do it eventually 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants