Skip to content

Commit 8a2c716

Browse files
finnschwallCopilot
andauthored
fix wrong forced json schema for judges
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e0d2e25 commit 8a2c716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpleaudit/model_auditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ async def _judge_conversation_async(
302302
],
303303
},
304304
},
305-
} if json_format else None,
305+
} if json_format and judge_prompt is None else None,
306306
)
307307
if judge_prompt is not None:
308308
try:

0 commit comments

Comments
 (0)