[router] use safety_identifier replace user on chat history storage (#12185)

This commit is contained in:
rongfu.leng
2025-10-30 08:47:22 -07:00
committed by GitHub
parent 1ed1abfd45
commit 2cf3d0f89f
10 changed files with 156 additions and 67 deletions
+4
View File
@@ -857,6 +857,10 @@ pub struct ResponsesResponse {
#[serde(skip_serializing_if = "Option::is_none")]
pub user: Option<String>,
/// Safety identifier for content moderation
#[serde(skip_serializing_if = "Option::is_none")]
pub safety_identifier: Option<String>,
/// Additional metadata
#[serde(default)]
pub metadata: HashMap<String, Value>,