Update app/llm.py
Browse files- app/llm.py +1 -1
app/llm.py
CHANGED
@@ -87,7 +87,7 @@ async def chat(chatm:ChatModel):#, user: schemas.BaseUser = fastapi.Depends(curr
|
|
87 |
print(output)
|
88 |
#print(output)
|
89 |
et = time()
|
90 |
-
|
91 |
#messages.append({'role': "assistant", "content": output['choices'][0]['message']['content']})
|
92 |
#print(messages)
|
93 |
return output
|
|
|
87 |
print(output)
|
88 |
#print(output)
|
89 |
et = time()
|
90 |
+
output["time"] = et - st
|
91 |
#messages.append({'role': "assistant", "content": output['choices'][0]['message']['content']})
|
92 |
#print(messages)
|
93 |
return output
|