Allow "empty" composer messages with copy&pasted error

Often I am using Composer to debug an error message from the log or browser console. Typicallky, the error is self-explanatory and AI can figure out what it is about, and what is requested (fix it!) just from the pasted snipped without any additional asks.

Currently, composer does not allow empty submissions (even when there was copy&paste snippet) and I have to say something like “fix it” or even just “.”.

It’s not ideal for a user to need to send “.” stub message just to get things going. Let us send empty, when your (some simple local model) believes that pasted message represents an error, and is a sufficient as a call-for-action per se… Or just on any copy&pasted snippet

I’ve faced this too, but we’ve found that leaving the prompt empty can let the AI get things wrong, hence why we ask you for a prompt every time.

For example, you might select a code block and ask the AI to explain it, fix it, ignore it or any other action, and not adding a prompt in leaves the AI to have to guess this.

Yeah, the “empty prompt” should really only be allowed for pasted errors. For the code, user’s ask is ambiguous; For the errors - not really; What’s a code vs error: well there is plenty of cheap&fast models already in place that could help decide…