This example points the official OpenAI Node SDK at StackIntercept.
npm install openai
OPENAI_API_KEY="sk-your-key" node app.mjsRun StackIntercept separately:
docker compose -f docker-compose.trial.yml up --buildExpected behavior:
- First identical request:
x-stack-intercept: miss - Second identical request:
x-stack-intercept: hit