Added a feature to switch API service providers, enabling users to easily toggle between providers as needed.
Added a feature to switch API service providers to the project. Introduced an input field for API providers in the settings interface and included the OPENAI_URL parameter in the config file.
This commit is contained in:
parent
f21f5c9611
commit
1ebe69ec94
5 changed files with 35 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ CHAT_MODEL = "gpt-3.5-turbo" # Name of the model to use
|
|||
[API_KEYS]
|
||||
OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef
|
||||
GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef
|
||||
OPENAI_URL = "https://api.openai.com/v1"
|
||||
|
||||
[API_ENDPOINTS]
|
||||
SEARXNG = "http://localhost:32768" # SearxNG API URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue