Skip to content

Commit

Permalink
change redacted message
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Feb 27, 2025
1 parent 4871dbf commit ae27a1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/inspect_ai/_util/transcript.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def transcript_reasoning(reasoning: ContentReasoning) -> list[RenderableType]:
text = (
reasoning.reasoning
if not reasoning.redacted
else "Reasoning encrypted for safety reasons."
else "Reasoning encrypted by model provider."
)

content.append(
Expand Down
2 changes: 1 addition & 1 deletion src/inspect_ai/_view/www/dist/assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21455,7 +21455,7 @@ var require_assets = __commonJS({
/* @__PURE__ */ jsxRuntimeExports.jsx(ExpandablePanel, { collapse: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
MarkdownDiv,
{
markdown: r2.redacted ? "Reasoning encrypted for safety reasons." : r2.reasoning
markdown: r2.redacted ? "Reasoning encrypted by model provider." : r2.reasoning
}
) })
] }, key2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const messageRenderers: Record<string, MessageRenderer> = {
<MarkdownDiv
markdown={
r.redacted
? "Reasoning encrypted for safety reasons."
? "Reasoning encrypted by model provider."
: r.reasoning
}
/>
Expand Down

0 comments on commit ae27a1c

Please sign in to comment.