From 3e3000ef8b80f36b502e35a0d45e3f44dc4fb4bc Mon Sep 17 00:00:00 2001 From: Justin Muller <101596031+justmul@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:51:49 -0800 Subject: [PATCH] typo fix prompt caching was enabled for the example which was intended to be WITHOUT caching. --- misc/prompt_caching.ipynb | 2 -- 1 file changed, 2 deletions(-) diff --git a/misc/prompt_caching.ipynb b/misc/prompt_caching.ipynb index cfc5334..5c15883 100644 --- a/misc/prompt_caching.ipynb +++ b/misc/prompt_caching.ipynb @@ -165,7 +165,6 @@ " {\n", " \"type\": \"text\",\n", " \"text\": \"\" + book_content + \"\",\n", - " \"cache_control\": {\"type\": \"ephemeral\"}\n", " },\n", " {\n", " \"type\": \"text\",\n", @@ -180,7 +179,6 @@ " model=MODEL_NAME,\n", " max_tokens=300,\n", " messages=messages,\n", - " extra_headers={\"anthropic-beta\": \"prompt-caching-2024-07-31\"}\n", "\n", " )\n", " end_time = time.time()\n",