mirror of
https://github.com/MadcowD/ell.git
synced 2024-09-22 16:14:36 +03:00
Merge branch 'main' of github.com:MadcowD/ell
t push
This commit is contained in:
@@ -26,7 +26,7 @@ def register(base_url):
|
||||
client = openai.Client(base_url=base_url)
|
||||
|
||||
try:
|
||||
response = requests.get(f"{base_url}/api/tags")
|
||||
response = requests.get(f"{base_url}/../api/tags")
|
||||
response.raise_for_status()
|
||||
models = response.json().get("models", [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user