Skip to content

Commit

Permalink
API: Remove unnecessary endpoint
Browse files Browse the repository at this point in the history
This used to be a shim for ooba, but it's no longer necessary.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Mar 5, 2024
1 parent d2c6ae2 commit 165cc6f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 165cc6f

Please sign in to comment.