mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-28 18:21:42 +00:00
API: Add setup function to routers
This helps prepare the router before exposing it to the parent app. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -32,6 +32,10 @@ urls = {
|
||||
}
|
||||
|
||||
|
||||
def setup():
|
||||
return router
|
||||
|
||||
|
||||
# Completions endpoint
|
||||
@router.post(
|
||||
"/v1/completions",
|
||||
|
||||
Reference in New Issue
Block a user