mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-30 11:11:35 +00:00
API: Add log options for initialization
Make each API log their respective URLs to help inform users. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -22,7 +22,12 @@ from endpoints.Kobold.utils.generation import (
|
||||
from endpoints.core.utils.model import get_current_model
|
||||
|
||||
|
||||
api_name = "KoboldAI"
|
||||
router = APIRouter(prefix="/api")
|
||||
urls = {
|
||||
"Generation": "http://{host}:{port}/api/v1/generate",
|
||||
"Streaming": "http://{host}:{port}/api/extra/generate/stream",
|
||||
}
|
||||
|
||||
|
||||
@router.post(
|
||||
|
||||
Reference in New Issue
Block a user