API: Remove unnecessary endpoint
This used to be a shim for ooba, but it's no longer necessary. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
d2c6ae2d35
commit
165cc6fc2d
1 changed files with 0 additions and 4 deletions
4
main.py
4
main.py
|
|
@ -136,10 +136,6 @@ async def list_models():
|
|||
"/v1/model",
|
||||
dependencies=[Depends(check_api_key), Depends(_check_model_container)],
|
||||
)
|
||||
@app.get(
|
||||
"/v1/internal/model/info",
|
||||
dependencies=[Depends(check_api_key), Depends(_check_model_container)],
|
||||
)
|
||||
async def get_current_model():
|
||||
"""Returns the currently loaded model."""
|
||||
model_name = MODEL_CONTAINER.get_model_path().name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue