-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add multiline support and use command for changing behavior #3
Conversation
Hello, @k-aito Very good idea to add commands. Examples:
Also, if you have any remarks/suggestions, then write them :) |
It looks very cool like that. The code looks much more clear than my "draft / dirty" version ^^ Maybe a `/model name´ could be nice, but I don't think it's possible because DDG is cleaning the conversation when changing the model. Example: In the conf file
In the application, |
Interesting ideas /model can only be implemented with clearing the chat, though... We could collect the conversation history into one first prompt and send it into a new model /summarize can be implemented I think I'll write them in two issues, as this PR is already standalone So, I will try to play with ideas as soon as I have time, firstly I'll try to speed up api.py (try to replace httpx with curl_cffi, and json to msgspec). |
That sounds nice for me ^^ If I can get something else working, I will do a PR if not, you don't need to wait for me. It's already very nice like that, it lets me avoid opening a browser when I just need to type 1 line. Good luck for curl_cffi and msgspec I even don't know them at all ^^ |
It would be nice if you could help with some of issue, maybe implement /summarise And thanks for the luck with speeding up ^^ Have a nice day ;) |
I will try to take a look when I have a bit of time. Have a nice day too |
Hello @mrgick
I find this one a bit dirty to be honest but it is working at first view, but if you see a better way to implement it don't hesitate. If you think it's a bit outside the scope don't hesitate to tell me too.
I think there would be some explain after
/singleline
and/multiline
like how they work and stuff like that./help
commandusing
/multiline
switching back to
/singleline
and checking what was sent before and then/quit