mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-13 18:44:23 -05:00
Custom OpenAI API Endpoints Do Not Load #750
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmstacey on GitHub (Apr 28, 2024).
Bug Report
Description
Bug Summary:
Custom OpenAI API Endpoints don't seem to work, such as api.together.xyz, and api.replicate.com
Steps to Reproduce:
Expected Behavior:
Available models load and become available to interact with.
Actual Behavior:
No models shown. No useful logs in container console that I can see. ENV contains GLOBAL_LOG_LEVEL=DEBUG, and the expected OPENAI_API_BASE_URLS and OPENAI_API_KEYS.
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Container Log.txt
Installation Method
Docker, following Docs with API details set through the Web UI. Also tried defining through docker run parameters:
Additional Information
Same API Base URLs and keys work in another chat app.
@tjbck commented on GitHub (Apr 28, 2024):
Seems like
api.together.xyzapi wasn't directly compatible with openai API spec (model list being directly sent as an array with/modelsendpoint instead of being sent as an object). Just updated the code on our dev branch to add support forapi.together.xyzat least, let me know if the issue persists!@jmstacey commented on GitHub (Apr 28, 2024):
@tjbck thanks for speedy fix. I downloaded dev branch and commit
9832e6edbadoes seem to have fixed the issue and both together.ai and groq.com APIs are now working. I'll leave comment open incase you want to close it after the merge.@Yanyutin753 commented on GitHub (May 1, 2024):
@jmstacey you can try use oneapi to resolve this problem