I was thinking about how we can resolve this from a few different ways.
There are 2 main hurdles:
- Professional feeling experience for the user
- Overcoming the technical pain points like docker, sign ups, etc etc
If we used Rust with Tauri to wrap the React application up we could lose the docker aspect of this for users and provide a native executable for MacOS, Windows and Linux. If this gets accomplished we then have access to just about every installer software and can really provide a solid professional experience.
sounds promising. Good for the roadmap portion of our discussion in the Monday youtube livestream.
Dave
These are based on 4.20 builds, if we these proofs of concept bare some fruit we can start to iron out some small issues for these to become public facing.
Mac DMG signed and stapled
Windows full installer
The mac installed perfectly however when I put my API key in I get a load failed error when I try to chat. This happens with both my BrainDrive API key and I also tried open router. We can look at it together on the call tomorrow if that’s easier.
Dave
Thanks, I am going to delve into this a bit more tomorrow since I am gonna guess that should be enough info for me to work with. If not, I will at least then know what I am looking for as far as additional info.
1 Like
one more note here is that when I log out and then go back and relaunch the app it has responsed to my chat bu tthen I get the load failed error again when I try to chat but when I log out and log back in it shows the response again.
Yeah, there was an auth catch in the Rust part of it as far as models and preferences went. I did just upload a new version of the Mac (I a blind attempt to bug fix), I replaced the current version that was on google drive so it kept the same permissions.
If you have the time can attempt to install it see if this resolves the issue. When I wrap up what I am working on at the moment I will take a deeper look to see if we can do a bit better on the Rust info.
no but I got a more specific message this time: Unable to reach the local BrainDrive runtime at http://127.0.0.1:55561/message: Load failed
That got us past 3 things then, I just solved this issue and uploaded a new version. Since this with CORS if it fails it should provide some additional info and insight.
Yes it’s working now!
One more issue though we need to investiage. When I put my old API key in it started me at $10 again. I’m pretty sure I was down to like $7 from my previous use. That’s my braindrive models API key so it looks like it got reset or something.
In theory, that should be impossible for the client to trigger the change in value so for the moment I am going to rule out a client issue.
@navaneeth
Off the top of my head, I wonder if this was caused by the migration Nav ran for existing users. I tagged him since it probably would be faster for him to take a look into this for the moment.
Hey, yes. I did that on purpose. I was trying to migrate legacy stuff to the new system, so the fastest way was to ignore previous spend (it was only on your account, around $2.4 as per my memory). Adding that upstream and doing the math would have slowed things down. But if you still want it shown, let me know, and I’ll do it in the morning.
@DJJones heads up when my computer went off and I cam back I am getting an error that says “unauthorized” now. Not an emergency we can look at it more tomorrow just a heads up.
Thanks
Dave
New version is being uploaded for testing, issue was cookies were not making past the initial connection. (I am listing issues here for a record and awareness)
working now thanks. Two other minor issues 1. BrainDrive shows up as a white box when in the active apps bar screenshot below:
When I click on the installer to open it, it brings up a window that has the app and the applications folder in it. This is close but you have to actually drag the app into the applictions folder if you want it to show there going forward.
The way that I see most apps handle this on Mac looks like this:
Thanks,
Dave
Our logo files are here: https://github.com/BrainDriveAI/BrainDrive-Library/tree/main/braindrive/brand/logos
We probably want either the light or dark icon for the app Icon.
Thanks
Dave
@DJJones heads up I moved this post from our private forum to public so other’s can follow progress/contribute. Any questions or issues let me know.
Thanks
Dave
@davewaring
Good with moving this into the public..
I noticed the icon as well but at the time I was still making sure the functionality needs getting handled first before heading down that path. Which looks to be the direction we are now heading into.
We will need to fully vet the windows version at some point as well
New version is up, should correct the icon and move to app folder issues