paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Not responses generated by Dual other than "typing". No error in server, even in debug mode. #75

Open JamesHWade opened 2 years ago

JamesHWade commented 2 years ago

Dual looks fantastic! I'd love to try it out. So far, I have been unable to get it to work. I followed the instruction on the readme and made it all the way to starting the server. However, I'm unable to get any response from my prompts. I don't see any error messages, so I'm not sure what to do.

It looks like there is an error related to a missing header for CORS. I'm not sure what that means exactly, but I hope it's at least somewhat helpful.

May this page is helpful?

Any advice?

paulbricman commented 2 years ago

Opening the developer view of the Electron app (Ctrl + I, I think?) might reveal some useful errors in the console.

JamesHWade commented 2 years ago

Thank you for the suggestion. That's where I saw errors related to CORS error. My best guess is that the more recent versions of electron and/or chromium are enforcing stricter controls that worked in your original code.

It's a bit beyond my JS/TS abilities to fix it myself, but that's where I'd start if I were more TS literate.

JamesHWade commented 2 years ago

Thank you for the suggestion. That's where I saw errors related to CORS error. My best guess is that the more recent versions of electron and/or chromium are enforcing stricter controls that worked in your original code.

It's a bit beyond my JS/TS abilities to fix it myself

paulbricman commented 2 years ago

@bensleveritt do you haven to have any quick CORS spell to cast?

bensleveritt commented 2 years ago

Oof, without doing some poking about I'm not sure what this could be. I'll fire up the code and see where we're at.