AndraxDev / speak-gpt

Your personal voice assistant based on OpenAI ChatGPT.
https://play.google.com/store/apps/details?id=org.teslasoft.assistant
Apache License 2.0
290 stars 59 forks source link

Suggestion: Jump straight to new chat on start #21

Closed alexcg1 closed 7 months ago

alexcg1 commented 1 year ago

I've got SpeakGPT set up as a left-swipe action on my home screen, to replace the built-in Android assistant. It'd be great to have the option to jump straight into a new chat, without having to click buttons, fill in text boxes, etc. Especially when I just want a quick answer to something.

Anyhow, just a thought :) No big deal if it's out of scope or just not a good idea

AndraxDev commented 1 year ago

Assistant mode is required not to just open app but to open temporary window over another app. Creating chat without name is not possible. ChatGPT API can not have access to Chat names or app settings so it can not generate chat name automatically.

yinye1024 commented 1 year ago

FATAL EXCEPTION: main Process: org.teslasoft.assistant, PID: 12424 java.lang.IllegalStateException: Fragment PromptsFragment{244a4cc} (cc654a65-2a3e-4ca3-8f5d-375b96a0db02) not attached to an activity. at androidx.fragment.app.Fragment.requireActivity(Unknown Source:17) at ga.e.onResponse(Unknown Source:90)

it runs error on SA,seems like some funtion calls the PromptsFragment before it was inited.

yinye1024 commented 1 year ago

sleep like 2000ms in mianActivity onCreated will fix the problem.

AndraxDev commented 7 months ago

This feature replaced with chats autosave starting from SpeakGPT 3.7 so this feature request has been rejected.