This example points the official OpenAI Python SDK at StackIntercept instead of calling the provider directly.
pip install openai
export OPENAI_API_KEY="sk-your-key"
python app.pyRun 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