Merge pull request #5105 from prd-tuong-nguyen/feat/support-hash-prompt-in-caching

feat: hash prompt when caching
This commit is contained in:
Krish Dholakia 2024-08-08 20:32:10 -07:00 committed by GitHub
commit f4b9f7c381
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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