Mobile-Artificial-Intelligence/maid

Open ai API link changes on restart

jimd-den opened this issue · 4 comments

When using other API the link switches back to openai

So to clarify is this when closing then restarting the app?

actually when you select lama.cpp or anything else, it'll reset the link, when you select a maid option. and yes just closing, everytime you close, but it's because the openai model class uses a static variable for the link. So it's loading that static variable on restart or open, the best way would just be to create a custom API option that works like the openai for groq and open router.

I cant reproduce this on the latest build?

I cant reproduce this on the latest build?

You are right, should've updated