The Anthropic API ignores cache_control markers placed on tools in the tools array, preventing efficient caching of system prompts and tool definitions across requests.
When placing a cache_control marker on a tool definition:
The Anthropic API ignores cache_control markers placed on tools in the tools array, preventing efficient caching of system prompts and tool definitions across requests.
When placing a cache_control marker on a tool definition:
| // Firefox configuration for containerized environments | |
| // Essential settings to fix container-specific issues | |
| // Completely disable update system (prevents locale file errors) | |
| user_pref("app.update.enabled", false); | |
| user_pref("app.update.auto", false); | |
| user_pref("app.update.service.enabled", false); | |
| user_pref("app.update.url", ""); | |
| user_pref("app.update.url.manual", ""); | |
| user_pref("app.update.url.details", ""); |
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| index 8ed9bc5..ce7842f 100644 | |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt | |
| @@ -14,7 +14,7 @@ project ("clither" | |
| ############################################################################### | |
| include (CMakeDependentOption) | |
| -option (CLITHER_BENCHMARKS "Compile benchmarks (requires C++)" ON) | |
| +option (CLITHER_BENCHMARKS "Compile benchmarks (requires C++)" OFF) |
| cmake_minimum_required(VERSION 3.10) | |
| set(CMAKE_CXX_STANDARD 20) | |
| set(CMAKE_CXX_STANDARD_REQUIRED True) | |
| # Set the project name and version | |
| project(webrtcvad VERSION 2.0.14) | |
| # Define the source files (excluding pywebrtcvad.c) | |
| file(GLOB VAD_SOURCES |
| // clang++ -o x x.cpp -framework CoreAudio -framework AudioToolbox | |
| #include <iostream> | |
| #include <cmath> | |
| #include <fstream> | |
| #include <AudioToolbox/AudioToolbox.h> | |
| constexpr float kSineFrequency = 440.0f; // 440Hz sinewave | |
| constexpr float kSampleRate = 48000.0f; // Sample rate |
| #include "MainComponent.h" | |
| #include <AudioToolbox/AudioToolbox.h> | |
| #include <CoreAudio/CoreAudio.h> | |
| #include <AudioUnit/AudioUnit.h> | |
| #include <cmath> | |
| // SineWaveGenerator methods | |
| SineWaveGenerator::SineWaveGenerator() : currentAngle(0.0), angleDelta(0.0) {} | |
| void SineWaveGenerator::setFrequency(float frequency, double sampleRate) |
| (.venv) | |
| pi@πlocal ~/code/2024/kit/kit/Gin master | |
| > git diff | |
| diff --git a/modules/gin_network/network/gin_asyncwebsocket.cpp b/modules/gin_network/network/gin_asyncwebsocket.cpp | |
| index 15be54251e..f3a8f057ac 100644 | |
| --- a/modules/gin_network/network/gin_asyncwebsocket.cpp | |
| +++ b/modules/gin_network/network/gin_asyncwebsocket.cpp | |
| @@ -6,8 +6,8 @@ | |
| ==============================================================================*/ |