This commit is contained in:
retoor 2025-04-03 02:09:51 +02:00
parent 87c7375c53
commit 5788e02128

View File

@ -133,6 +133,8 @@ app = web.Application()
app.router.add_get("/", index_handler)
app.router.add_route('GET', '/publish', websocket_handler)
app.router.add_route('POST', '/api/chat', http_handler)
app.router.add_route('POST', '/v1/api/chat', http_handler)
app.router.add_route('POST', '/v1/api/chat/completions', http_handler)
app.router.add_route('GET', '/models', models_handler)
if __name__ == '__main__':