-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPT4 API stopped working in beta. #508
Comments
Obsidian Developer Console |
Just ran into this as well. Looks like the model name Information about available models I was able to get the chat with the change shown in the diff below (File is located in diff --git a/main.js b/main.js
index 0398f15..7e91959 100644
--- a/main.js
+++ b/main.js
@@ -5375,7 +5375,7 @@ var require_models2 = __commonJS({
streaming: true
},
"openai-gpt-4-turbo": {
- model_name: "gpt-4-turbo",
+ model_name: "gpt-4-turbo-preview",
description: "OpenAI's GPT-4 model",
max_input_tokens: 128e3,
type: "API", Basically, fix the As a side note to @brianpetro, OpenAI provides the |
@RickyGrassmuck @bbecausereasonss good catch. I'll have that fixed shortly. 🌴 |
Looks like Gemini API is not working either. Keeps saying invalid API keys.
Have tried 2 new ones.
…On Wed, Mar 13, 2024 at 7:10 PM WFH Brian ***@***.***> wrote:
@RickyGrassmuck <https://github.com/RickyGrassmuck> @bbecausereasonss
<https://github.com/bbecausereasonss> good catch.
I'll have that fixed shortly.
🌴
—
Reply to this email directly, view it on GitHub
<#508 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2TIUFJIDK7MWG2VQWU3FTYYDMHTAVCNFSM6AAAAABEU6G74WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWGA3DAMZSGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*Vladimir Druts*
*Tech & DTC Founder *🌄 *Helping you focus and thrive in a digital world*
DoneSquad <http://donesquad.io/> 🎯 Accountability Program
FocusMe <http://focusme.com/> 🎯 Attention Optimization App
FRWRD Skincare <https://www.frwrdskincare.com/> 🍄 Mushroom Beauty &
Wellness
🎙️ Podcasts & Articles <http://linktr.ee/vdruts>
🏷️ #ADHDFocused #HighPerformance #TechForGood #WellnessAdvocate
SCHEDULE A CALL <https://tidycal.com/vd>
|
@bbecausereasonss can you confirm that your using the Google AI studio API key? https://aistudio.google.com/app/prompts/new_chat/ |
Correct
…On Wed, Mar 13, 2024 at 7:23 PM WFH Brian ***@***.***> wrote:
@bbecausereasonss <https://github.com/bbecausereasonss> can you confirm
that your using the Google AI studio API key?
https://aistudio.google.com/app/prompts/new_chat/
—
Reply to this email directly, view it on GitHub
<#508 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2TIUFKZBAUN3M7J7GOUPTYYDNXZAVCNFSM6AAAAABEU6G74WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWGA3TANBUHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*Vladimir Druts*
*Tech & DTC Founder *🌄 *Helping you focus and thrive in a digital world*
DoneSquad <http://donesquad.io/> 🎯 Accountability Program
FocusMe <http://focusme.com/> 🎯 Attention Optimization App
FRWRD Skincare <https://www.frwrdskincare.com/> 🍄 Mushroom Beauty &
Wellness
🎙️ Podcasts & Articles <http://linktr.ee/vdruts>
🏷️ #ADHDFocused #HighPerformance #TechForGood #WellnessAdvocate
SCHEDULE A CALL <https://tidycal.com/vd>
|
@bbecausereasonss thanks, I'll also give that a look shortly |
For the record, getting API error on 3.5 openAI as well. |
@bbecausereasonss the GPT-3.5 error should be fixed. It was token calculation-related. The Google API key issue was likely caused by the test code. The test code is fixed, so it should return that the API key is valid. The 🌴 |
@RickyGrassmuck thanks for narrowing down the issue. It's been fixed in And I made a note to auto-import the models from the API endpoint. Thanks for the 💡 🌴 |
Was testing Claude (but found it to be too prompt). Tried going back to OpenAi/GPT4.
Getting this log error
"plugin:smart-connections:7305 Smart Connections: Error testing API key Error: Request failed, status 401
at new t (app.js:1:1782334)
at Bq (app.js:1:1782526)
at app.js:1:1783203
at app.js:1:237544
at Object.next (app.js:1:237649)
at a (app.js:1:236367)
test_api_key_openai @ plugin:smart-connections:7305
await in test_api_key_openai (async)
handle_on_change @ plugin:smart-connections:7222
eval @ plugin:smart-connections:7169
(anonymous) @ app.js:1
plugin:smart-connections:6395 ['[[Summary - Business - OverPrescribed - Daniel Priestly]]']
plugin:smart-connections:6364 [t]
plugin:smart-connections:5147 chat_ml
plugin:smart-connections:5148 {messages: Array(4)}
plugin:smart-connections:5147 chat_ml
plugin:smart-connections:5148 {messages: Array(5)}
plugin:smart-connections:7017 {name: 'Not found: '}
plugin:smart-connections:7017 {name: 'Not found: '}
plugin:smart-connections:7017 {name: 'Not found: '}
plugin:smart-connections:7017 {name: 'Not found: '}
plugin:smart-connections:5535 POST https://api.openai.com/v1/chat/completions 404
stream @ plugin:smart-connections:5535
full_str @ plugin:smart-connections:6126
stream @ plugin:smart-connections:6084
await in stream (async)
new_user_message @ plugin:smart-connections:6995
await in new_user_message (async)
eval @ plugin:smart-connections:6718
plugin:smart-connections:6121 CustomEvent {isTrusted: false, data: '{\n "error": {\n "message": "The model
gp… null,\n "code": "model_not_found"\n }\n}\n', source: SmartStreamer, detail: null, type: 'error', …} eval @ plugin:smart-connections:6121 eval @ plugin:smart-connections:5511 dispatchEvent @ plugin:smart-connections:5510 onStreamFailure_fn @ plugin:smart-connections:5560 onStreamProgress_fn @ plugin:smart-connections:5573 XMLHttpRequest.send (async) stream @ plugin:smart-connections:5535 full_str @ plugin:smart-connections:6126 stream @ plugin:smart-connections:6084 await in stream (async) new_user_message @ plugin:smart-connections:6995 await in new_user_message (async) eval @ plugin:smart-connections:6718 plugin:smart-connections:5147 chat_ml plugin:smart-connections:5148 {messages: Array(6)} plugin:smart-connections:6999 Uncaught (in promise) CustomEvent {isTrusted: false, data: '{\n "error": {\n "message": "The model
gp… null,\n "code": "model_not_found"\n }\n}\n', source: SmartStreamer, detail: null, type: 'error', …}"The text was updated successfully, but these errors were encountered: