You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but this resulted in a http 405 error: "Method not allowed". Through some scraping around I found that I have to use a URI with the path /api/chat/completions instead of /api/v1/chat/completions. Perhaps this is something odd/outdated with the way our proxy is setup?
Anyway I tweaked the code in chatgpt-shell-openai-make-model as follows and got this working end-to-end:
;; (path "/v1/chat/completions") ;; not working
(path "/chat/completions") ;; working
I'm no elisp expert, so maybe I am missing something here and making things hard for myself. If not, perhaps it would be good to make the openai url path configurable?
The text was updated successfully, but these errors were encountered:
I'm trying to get this setup to use our internal OpenAI proxy. I first tried the following configuration:
but this resulted in a http 405 error: "Method not allowed". Through some scraping around I found that I have to use a URI with the path
/api/chat/completions
instead of/api/v1/chat/completions
. Perhaps this is something odd/outdated with the way our proxy is setup?Anyway I tweaked the code in
chatgpt-shell-openai-make-model
as follows and got this working end-to-end:I'm no elisp expert, so maybe I am missing something here and making things hard for myself. If not, perhaps it would be good to make the openai url path configurable?
The text was updated successfully, but these errors were encountered: