Replies: 2 comments 2 replies
-
Additional info: It works fine if I use with default configuration. But when I setup like this it gives the error.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
(defvar gptel-backend-openai
(gptel-make-openai "ChatGPT"
:stream t
:models '(gpt-4o gpt-4.5-preview)
:key gptel-api-key)) See the documentation of Any reason you don't want to use the built-in OpenAI backend? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the following format in ~/.authinfo
machine api.openai.com login apikey password sk-secret-openai-api-key-goes-here
but still get the error - 401 invalid_request_error you didn't provide an api key
what could be wrong?
Beta Was this translation helpful? Give feedback.
All reactions