obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

Getting `Error: Azure OpenAI API instance name not found` when I'm not using Azure OpenAI

Open LesterThomas opened this issue 1 year ago • 3 comments

Describe the bug I'm trying the default settings using my Open-API Key (that I have tested in other applications). In the console, I'm getting an error Error: Azure OpenAI API instance name not found at new ChatOpenAI (plugin:copilot:70359:15) even though I have not set any of the Azure Open AI settings. In the Obsidian UI, Im'm getting a Error creating model: GPT-4 Turbo error.

To Reproduce New install of Copilot 2.4.18 Click Reset to Default Settings then apply OpenAI API Key, then click Save and Reload Error creating model: GPT-4 Turbo error shown in black box in UI, and Error: Azure OpenAI API instance name not found at new ChatOpenAI (plugin:copilot:70359:15) shown in console window.

LesterThomas avatar Mar 04 '24 09:03 LesterThomas

Hmm, I tried and couldn't reproduce this. What else did you do? @LesterThomas

Anyone else seeing this?

logancyang avatar Mar 05 '24 00:03 logancyang

Was following this: Reset to Default Settings, Apply OpenAI API Key, Save and Reload

Not seeing an error from my side, either. Are you able to get a screen recording? Thanks

My version of copilot: 2.4.18

petery789 avatar Mar 05 '24 00:03 petery789

Many thanks for looking into this - I’ll do a screen recording and post here.

LesterThomas avatar Mar 05 '24 00:03 LesterThomas