You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ Basic caching proxy for OpenAI API, deployable as a [Cloudflare Worker](https://
4
4
5
5
This can help you reduce your OpenAI costs (and get faster results) by returning cached responses for repeated requests.
6
6
7
+
**Client compatibility:**
8
+
-[openai/openai-node](https://github.com/openai/openai-node): full compatibility, takes just a few lines of config to use
9
+
-[openai/openai-python](https://github.com/openai/openai-python): partial compatibility, supports caching but no TTL options so you'll need a cache eviction policy
10
+
7
11
It only caches `POST` requests that have a JSON request body, as these tend to be the slowest and are the only ones that cost money (for now).
0 commit comments