Skip to content
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

Extend Support for OpenAI-Compatible Services #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

m4oc
Copy link

@m4oc m4oc commented Jan 8, 2025

Description

This pull request enhances the project's functionality to support services compatible with OpenAI APIs. The update allows users to utilize alternative providers while maintaining a simple and flexible configuration.

Key Changes:

  • Configuration Update:
    • Added a API_BASE_URL parameter to specify the API endpoint of the compatible service.
    • Added new configuration variables:
      • OPENAI to toggle between OpenAI and compatible providers.
      • OPENAI_API_BASE for defining the base URL of the compatible API provider.
      • MODEL_NAME for optionally specifying a model name.
    • Preserved backward compatibility with the default OpenAI service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant