Skip to content

v1.2.5

Latest
Compare
Choose a tag to compare
@muhammedsaidckr muhammedsaidckr released this 02 Sep 13:21

Release v1.2.5: Custom ChatGPT API URL Support

New Feature: Configurable ChatGPT API URL

We're excited to announce a new feature that adds flexibility to our Flarum ChatGPT integration. Users can now configure a custom ChatGPT API URL instead of being limited to the default api.openai.com endpoint.

This feature was implemented in response to a community request. You can view the original feature request and discussion here: Feature Request: Custom API URL Option

Key Changes:

  • Added an option in the admin panel to set a custom ChatGPT API URL
  • Updated the API client to use the configured custom URL when making requests
  • Maintained backwards compatibility: if no custom URL is set, the extension will continue to use the default OpenAI API endpoint

Benefits:

  • Supports alternative API endpoints or self-hosted versions of the OpenAI API
  • Increases flexibility for different deployment environments
  • Allows users to comply with specific organizational or regional requirements

How to Use:

  1. Navigate to the admin panel
  2. Find the ChatGPT extension settings
  3. Locate the new "Custom API URL" field
  4. Enter your desired API endpoint URL
  5. Save the settings

Note:

Ensure that your custom API endpoint is compatible with the OpenAI API structure. Incompatible endpoints may cause the extension to malfunction.

We appreciate the community's feedback and contributions. This feature was implemented in response to a user request, demonstrating our commitment to improving the extension based on user needs.

As always, please report any issues or submit feature requests through our GitHub repository.

Thank you for using our Flarum ChatGPT integration!