feat: hash prompt when caching

This commit is contained in:
prd-tuong-nguyen 2024-08-08 16:19:14 +07:00
parent 6f0b9a8775
commit 70f2e84bc4

View file

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