added supabase
This commit is contained in:
9
py_server/routers/chat.py
Normal file
9
py_server/routers/chat.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter
|
||||
from models import ChatBody
|
||||
from handlers.chat import chat_extension_handler
|
||||
|
||||
router = APIRouter(prefix="/api/v1")
|
||||
|
||||
@router.post("/chat/chrome", tags=["chat"])
|
||||
async def chat_extension(body: ChatBody):
|
||||
return await chat_extension_handler(body)
|
||||
Reference in New Issue
Block a user