mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-06 04:38:22 +00:00
add v1/models endpoint
This commit is contained in:
@@ -69,6 +69,11 @@ async def info() -> dict:
|
||||
}
|
||||
|
||||
|
||||
@app.get("/v1/models")
|
||||
async def models() -> dict:
|
||||
return {"data": MODELS}
|
||||
|
||||
|
||||
app.include_router(admin_router)
|
||||
app.include_router(wallet_router)
|
||||
app.include_router(providers_router)
|
||||
|
||||
Reference in New Issue
Block a user