mirror of
https://github.com/openai/codex.git
synced 2026-11-25 15:24:26 +00:00
Include transparent background in image generation analytics (#40544)
## What changed Add the optional `transparent_background` value to image generation event parameters and populate it from the corresponding image generation item. ## Testing Add reducer coverage for completed events with true, false, and unset values, as well as failed events where the value is unset. GitOrigin-RevId: a9ee13696acb34feb998b345f54889cac7a401d9
This commit is contained in:
1 parent
2e4675919e
commit
348f49b292
3 files changed
+74
No files matched your search
@@ -2831,6 +2831,7 @@ fn tool_item_event(input: ToolItemEventInput<'_>) -> Option<TrackEventRequest> {
|
||||
base,
|
||||
revised_prompt_present: item.revised_prompt.is_some(),
|
||||
saved_path_present: item.saved_path.is_some(),
|
||||
transparent_background: item.transparent_background,
|
||||
},
|
||||
},
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user