qgrail / obsidian-ai-assistant

AI Assistant Plugin for Obsidian
MIT License
211 stars 20 forks source link

Hello! Image generator failed when I use it. #10

Open ShawnLee21 opened 1 year ago

ShawnLee21 commented 1 year ago

The error is: Request failed with status code 401. Would you kindly help me? Thank you so much.

qgrail commented 1 year ago

Hello @ShawnLee21, Error code 401 is related to an invalid authentication. Can you check that you have a valid OpenAI API key in the plugin settings? Do you also have this error when you use the chat command with gpt-3.5 model? Thanks

AspDotNetCP commented 1 year ago

I don't have Image Generate as show on command pallete like in you picture, just the AI Assistant chat...

qgrail commented 1 year ago

Hi @AspDotNetCP , The image generator is only available in edit mode, when your cursor focus is in a note. Can you check that it is the case? Thanks

avinashkanaujiya commented 1 year ago

image is not getting copied to the clipboard, I am running nixos with gnome