I'm getting an API error when I try to use the smart connections chat. I have the API key in place, but it won't let me choose a model. I checked the console and saw these errors:
The chat worked for me for a little bit, but then it started giving me that message. I didn't do anything different. I even downloaded the update and restarted my Obsidian to see if that would make a difference and it didn't.
When I press "Refresh Model List", I get:
plugin:smart-connections:5864
GET https://api.openai.com/v1/models 401 (Unauthorized)
fetch_openai_models @ plugin:smart-connections:5864
get_models @ plugin:smart-connections:6372
get_view_data @ plugin:smart-connections:7148
render @ plugin:smart-connections:6961
changed_smart_chat_model @ plugin:smart-connections:7123
await in changed_smart_chat_model (async)
eval @ plugin:smart-connections:7049
(anonymous) @ app.js:1
plugin:smart-connections:5887 Failed to fetch model data: Error: Network response was not ok
at Object.fetch_openai_models [as openai] (plugin:smart-connections:5870:17)
at async ScChatModel.get_models (plugin:smart-connections:6372:26)
at async SmartChatSettings.get_view_data (plugin:smart-connections:7148:42)
at async SmartChatSettings.render (plugin:smart-connections:6961:70)
I'm getting an API error when I try to use the smart connections chat. I have the API key in place, but it won't let me choose a model. I checked the console and saw these errors:
The chat worked for me for a little bit, but then it started giving me that message. I didn't do anything different. I even downloaded the update and restarted my Obsidian to see if that would make a difference and it didn't.
When I press "Refresh Model List", I get: