Update app/llm.py
Browse files- app/llm.py +1 -1
app/llm.py
CHANGED
@@ -74,7 +74,7 @@ def health():
|
|
74 |
|
75 |
# Chat Completion API
|
76 |
@llm_router.post("/chat/", tags=["llm"])
|
77 |
-
async def chat(chatm:ChatModel
|
78 |
chatm.system = chatm.system.format(user.email)
|
79 |
try:
|
80 |
st = time()
|
|
|
74 |
|
75 |
# Chat Completion API
|
76 |
@llm_router.post("/chat/", tags=["llm"])
|
77 |
+
async def chat(chatm:ChatModel):#, user: schemas.BaseUser = fastapi.Depends(current_active_user)):
|
78 |
chatm.system = chatm.system.format(user.email)
|
79 |
try:
|
80 |
st = time()
|