Update app/llm.py
Browse files- app/llm.py +1 -1
app/llm.py
CHANGED
|
@@ -75,7 +75,7 @@ def health():
|
|
| 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()
|
| 81 |
output = llm_chat.create_chat_completion(
|
|
|
|
| 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()
|
| 81 |
output = llm_chat.create_chat_completion(
|