mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-19 11:11:06 +00:00
Ensure chat_id is added at log time too, refs #6
This commit is contained in:
parent
f6c1225f28
commit
f605b0b1fc
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ def log(no_log, provider, system, prompt, response, model, chat_id=None):
|
|||
"response": response,
|
||||
"model": model,
|
||||
"timestamp": str(datetime.datetime.utcnow()),
|
||||
}
|
||||
},
|
||||
alter=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue