-
Notifications
You must be signed in to change notification settings - Fork 60.4k
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] Allow Customize endpoint #5478
Comments
For example, allow customizing the endpoint securely, as shown in the following images: The first image demonstrates a customizable endpoint configuration where users can specify the API endpoint URL, including the domain and any necessary subpaths. This allows for flexibility in integrating with various external REST APIs. The second image shows an example of a secure configuration, where the API key is provided as an authentication mechanism. This ensures that only authorized users can access the endpoint and helps protect sensitive data. By implementing these customization options, users can seamlessly integrate with their preferred AI providers or external APIs while maintaining a secure connection. The ability to specify the complete endpoint URL and provide authentication credentials enhances the versatility and security of the application. |
Also, for anyone who doesn't know about Information can be found here (English version): |
我似乎有看到你在该仓库有很多代码贡献,如果可以的话,你愿意为此问题提供pr吗 |
I seem to have seen that you have a lot of code contributions in this repository. If possible, would you be willing to provide a PR for this issue? |
@Dogtiti Also, I am pretty sure that I have configured it to support a customizable endpoint. The relevant code can be found here:
The next step would be to implement a user interface for the customizable endpoint mechanism. |
Also I think it would be better to implement a provider for |
Update Regarding These IssuesThe In |
🥰 Feature Description
Currently, the customizable endpoint feature is not working as expected for external REST APIs, such as https://oneapi.b0zal.io. The issue seems to have arisen after the new developers started maintaining the project. The customizable endpoint keeps forcing the path to
api.example.com/v1/message
forAnthropic
or other AI providers, which is causing compatibility issues.🧐 Proposed Solution
To address this problem, I propose the following solution:
By implementing these changes, users will have the flexibility to integrate with various external REST APIs seamlessly, without being limited to a specific path structure.
📝 Additional Information
/v1/message
to the user-specified endpoint.The text was updated successfully, but these errors were encountered: