mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 02:07:46 -05:00
feat: openai compatible api support
This commit is contained in:
1 parent
5e4dc98f44
commit
17c66fde0f
9 files changed
+260
-85
No files matched your search
+3
-9
@@ -1,12 +1,6 @@
|
||||
# If you're serving both the frontend and backend (Recommended)
|
||||
# Set the public API base URL for seamless communication
|
||||
PUBLIC_API_BASE_URL='/ollama/api'
|
||||
|
||||
# If you're serving only the frontend (Not recommended and not fully supported)
|
||||
# Comment above and Uncomment below
|
||||
# You can use the default value or specify a custom path, e.g., '/api'
|
||||
# PUBLIC_API_BASE_URL='http://{location.hostname}:11434/api'
|
||||
|
||||
# Ollama URL for the backend to connect
|
||||
# The path '/ollama/api' will be redirected to the specified backend URL
|
||||
OLLAMA_API_BASE_URL='http://localhost:11434/api'
|
||||
|
||||
OPENAI_API_BASE_URL=''
|
||||
OPENAI_API_KEY=''
|
||||
Reference in new issue
Block a user