Replies: 6 comments 5 replies
-
I think that is a good idea. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your suggestion on supporting third-party AI providers. We are currently focused on optimizing the user experience and will not be adding this feature in the short term. However, we plan to support custom AI providers in the future. |
Beta Was this translation helpful? Give feedback.
-
Since this won't be achieved in the short term, I will convert this issue into a discussion so that we can continue to discuss it. |
Beta Was this translation helpful? Give feedback.
-
Good idea, will need this feature as well |
Beta Was this translation helpful? Give feedback.
-
There's no reason this shouldn't already be a thing when the OpenAI NodeJS module has had access to a 'baseURL' parameter for ages and even provide explicit examples. With them having reimplemented half the classes with new random names (Seriously why even bother with 'copilot' when it just adds confusion with Microsoft's Copilot?). its taking a bit to find exactly where the config is being pulled from but the same config value should still be directly passable to the module. EDIT: Finally tracked things down and yes, they're literally just pulling directly from the /root/.affine/self-host/config/affine.js file it seems. The correct addition according to text-generation-webui is:
But I get a connection error, so I'm not quite sure what other info is missing. It is at least clearly redirecting things, it's likely just either a TLS issue or more likely an issue with needing a bit more added to the config. |
Beta Was this translation helpful? Give feedback.
-
link: #7705 |
Beta Was this translation helpful? Give feedback.
-
Description
Support third-party AI providers
Use case
Users can choose local or third-party AI providers
Anything else?
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions