Open bytesoverflow opened 3 weeks ago
Hey thanks for the kind words :slightly_smiling_face:
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?
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.
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?
That sounds great! I've got a lot on my hands atm but I'd be happy to add it.
Otherwise welcoming PRs :)
I'm not a Rustacean but I'll give it a go anyway and see how far I can get...
Don't sweat it, also if you can wait I'll do it eventually 😁
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!