mirror of
https://github.com/openai/codex.git
synced 2026-11-05 08:28:29 +00:00
add(feedback): over-refusal / safety check (#11948)
Add new feedback option for "Over-refusal / safety check"
This commit is contained in:
1 parent
19afbc35c1
commit
b37555dd75
5 files changed
+54
-15
No files matched your search
@@ -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