Testing without provider calls
Tests that call a real model are slow, cost money and give a different answer each time. See how a scripted model lets the real run loop and your real tools run in a test, and how the same idea covers sandbox, realtime and voice.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.
Written from the official documentation
In this module: Observe, test and ship
- TracingSee every step of a run.Pro
- Custom traces, spans and processorsGroup runs in one trace, hide sensitive data and export elsewhere.Pro
- Usage trackingCount requests and tokens per run, per request and per session.Pro
- Testing without provider callsScripted models for agents, sandbox, realtime and voice tests.Pro