feat: hash prompt when caching

This commit is contained in:
prd-tuong-nguyen 2024-08-08 16:19:14 +07:00
parent 2710bec02d
commit 3445174ebe

View file

@ -1827,6 +1827,7 @@ class Cache:
completion_kwargs = [
"model",
"messages",
"prompt",
"temperature",
"top_p",
"n",