Add files via upload

This commit is contained in:
Alpha Nerd 2025-09-05 12:15:57 +02:00 committed by GitHub
parent ee8788e482
commit ca3908412a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1234,7 +1234,7 @@ async def openai_completions_proxy(request: Request):
@app.get("/v1/models")
async def openai_models_proxy(request: Request):
"""
Proxy a models request to Ollama endpoints and reply with a unique list of all models.
Proxy an OpenAI API models request to Ollama endpoints and reply with a unique list of all models.
"""
# 1. Query all endpoints for models
@ -1269,8 +1269,8 @@ async def redirect_favicon():
@app.get("/", response_class=HTMLResponse)
async def index(request: Request):
"""
Render the landing page that lists the configured endpoints
and the models available / running.
Render the dynamic NOMYO Router dashboard listing the configured endpoints
and the models details, availability & task status.
"""
return HTMLResponse(content=open("static/index.html", "r").read(), status_code=200)