mirror of
https://github.com/openai/codex.git
synced 2026-04-29 10:53:24 +03:00
add(feedback): over-refusal / safety check (#11948)
Add new feedback option for "Over-refusal / safety check"
This commit is contained in:
@@ -279,7 +279,7 @@ impl CodexLogSnapshot {
|
||||
}
|
||||
|
||||
let level = match classification {
|
||||
"bug" | "bad_result" => Level::Error,
|
||||
"bug" | "bad_result" | "safety_check" => Level::Error,
|
||||
_ => Level::Info,
|
||||
};
|
||||
|
||||
@@ -342,6 +342,7 @@ fn display_classification(classification: &str) -> String {
|
||||
"bug" => "Bug".to_string(),
|
||||
"bad_result" => "Bad result".to_string(),
|
||||
"good_result" => "Good result".to_string(),
|
||||
"safety_check" => "Safety check".to_string(),
|
||||
_ => "Other".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user