core-agent-ide/codex-rs/otel/src
Fouad Matin 02e9006547
add(core): safety check downgrade warning (#11964)
Add per-turn notice when a request is downgraded to a fallback model due
to cyber safety checks.

**Changes**

- codex-api: Emit a ServerModel event based on the openai-model response
header and/or response payload (SSE + WebSocket), including when the
model changes mid-stream.
- core: When the server-reported model differs from the requested model,
emit a single per-turn warning explaining the reroute to gpt-5.2 and
directing users to Trusted
    Access verification and the cyber safety explainer.
- app-server (v2): Surface these cyber model-routing warnings as
synthetic userMessage items with text prefixed by Warning: (and document
this behavior).
2026-02-16 22:13:36 -08:00
..
metrics feat: expose detailed metrics to runtime metrics (#10699) 2026-02-05 18:22:30 -08:00
traces add(core): safety check downgrade warning (#11964) 2026-02-16 22:13:36 -08:00
config.rs feat: show runtime metrics in console (#10278) 2026-01-30 22:20:02 -08:00
lib.rs Add originator to otel metadata tags (#11232) 2026-02-09 14:29:19 -08:00
otel_provider.rs feat: show runtime metrics in console (#10278) 2026-01-30 22:20:02 -08:00
otlp.rs feat: metrics capabilities (#8318) 2026-01-08 11:47:36 +00:00