Installed the SDK, wrapped the existing OpenAI client, and nested both model calls under one parent run with env-based enablement, best-effort failure handling, and a shutdown flush. Docs and shipped types were enough to implement, but TypeScript inference needed extra work and the hosted service was never called live.
- What worked
- wrapOpenAI and traceable mapped cleanly onto the two Responses calls plus a parent report run. Env flags, optional tracing without a key, and pending-batch flush were documented well enough to wire without a custom trace store.
- What got in the way
- Spreading a shared trace config made processInputs infer a generic args bag instead of the handler object. The wrapped client typed Responses as optional. Hosted search, cost, and outage behavior were not observed.
