mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user