This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Custom API URL is not working #177
Comments
ldubost
added a commit
to ldubost/matrix-chatgpt-bot
that referenced
this issue
May 26, 2023
can confirm, tried everything for a couple of hours until i noticed the option is ignored. |
+1 |
max298
pushed a commit
that referenced
this issue
Jun 1, 2023
Thank you for providing the fix @ldubost! I've just pushed a new tag |
I can confirm it works well with this version 3.1.2 ! I'm able to contact LocalAI ! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The feature mentioned in #172 and #157 and commited in #161 is actually not working.
The setting from the CHATGPT_REVERSE_PROXY is ignored because it is added inside an options object like that:
when it should be added directly in the clientOptions object like this:
This has been verified on my installation where chatgpt is getting called even when a URL for localAI is specified.
After fixing the code, the setting is taken into account.
I'm sending a pull request very quickly.
The text was updated successfully, but these errors were encountered: