Skip to content

Commit 95f958d

Browse files
committed
fix(bias-audit): remove invalid org_id kwarg in create call
create_bias_audit() does not accept an org_id kwarg — the tenant scope is organization_id, not the label-style org_id from the frontend config. The spurious kwarg has been present since the initial bias audit commit and caused every POST /bias-audits/run to fail with a 500.
1 parent 29c57df commit 95f958d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

EvalServer/src/controllers/bias_audits.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ async def create_bias_audit_controller(
115115
organization_id=organization_id,
116116
db=db,
117117
audit_id=audit_id,
118-
org_id=effective_org_id,
119118
project_id=config_data.get("projectId"),
120119
preset_id=preset_id,
121120
preset_name=preset_name,

0 commit comments

Comments
 (0)