-
Notifications
You must be signed in to change notification settings - Fork 106
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
feature request: additional curl arguments #283
Comments
This is available via the For example: (gptel-make-openai "ChatGPT-no-ssl-check"
:key 'gptel-api-key
:stream t
:models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4"
"gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview"
"gpt-4-0125-preview")
:curl-args '("--ssl-no-revoke" "-k")) If you want this globally, you can add it to |
hi thanks. I can't change |
hi thanks. I can't change gptel-curl--common-args though. it's a constant.
Does adding :curl-args to the backend definition not work for you?
|
On second thought I don't want to make For ChatGPT in particular, you can use the code I provided above, OR add it to the pre-defined backend using: (setf (gptel-backend-curl-args gptel--openai)
'("--ssl-no-revoke" "-k")) For any other LLM provider you can add |
yes it did work with |
Hello, great package, however my proxy setup(out of my control) requires curl arguments like
-k
or--ssl-no-revoske
to work. Would you be able to add additional user argument to curl. Thanks.The text was updated successfully, but these errors were encountered: