Custom AI assistant doesn't answer always + changing model not possible

  1. I've configured custom AI assistant to use opencode cli + minimax-m2.5-free, but it seems it doesn't work. Once I start new conversation it is briefly showing the token usage then they disappear and nothing happens - no answer.

  2. When I try to change the model from here (no matter if for the primary or the secondary models):

nothing happens, meaning the selected model is not populated in the "Model / Identifier" field. If I type it manually it stays.

BTT: 6.338

Could you check the conversation log in '~/Library/Application Support/BetterTouchTool/AI/Conversations' ? It might show the error opencode is running into.

In general opencode is the least tested of the backend options right now, I'll need to do more testing with that. I think opencode always requires a provider/modelname style instead of just modelname.

Currently best use the quick setup wizard for open code and don't use the "browse models" option but instead the dropdown - it will show all models that are available in your opencode configuration and select them in the correct format:

I was not able to find any errors, but it seems that if I ask it twice it is answering. Interestingly enough only for this questions (I've tested with 2 more) . Here's a screenshot of the whole conversation:

Attached is also the log:
conversation_40EEFFE4-E7F2-4B8A-B7BE-6FD4EABBAAEB.json (41.6 KB)

ps: I've initially edit my 1st post, because I thought was able to fix the issue with the non-responding agent, but it seems there are still issues, so I'm reverting it back to the original post

Possibly 6.341 can help, however I wasn't able to reproduce the double-messages here.

The setup wizard is now also more structured for the different backend types and has a test connection button


The reason I'm using the "Browse models..." is because not all models were shown here:

But sure I'll use the wizard.