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",