← Back to compatibility guides
OpenAI Responses compatibility
OpenAI Responses API mocking for CI/CD
Cover the newer Responses API, including tool-output-shaped payloads, before rolling SDK changes into production.
Copy-paste SDK setup
Use this in local tests, GitHub Actions, or pre-deploy smoke suites.
curl https://api.mockllm.io/v1/responses \
-H 'Authorization: Bearer $MOCKLLM_API_KEY' \
-H 'Content-Type: application/json'Endpoint
/v1/responses
CI use cases
- ✓Responses API migration tests
- ✓Tool output fixture replay
- ✓Cost-free release verification
GitHub Actions smoke test
Gate releases with a deterministic MockLLM fixture instead of a live provider call.
- name: OpenAI Responses MockLLM smoke test
env:
MOCKLLM_API_KEY: ${{ secrets.MOCKLLM_API_KEY }}
run: npm test -- --runTestsByPath tests/responses-api-smoke.test.tsShip deterministic LLM tests this week
Start with one fixture, prove the provider contract, and expand coverage without increasing API spend.