Skip to content

Commit 884de94

Browse files
feat(api): api update
1 parent 7b6bc0a commit 884de94

8 files changed

+9
-31
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 70
2-
openapi_spec_hash: 9018ebfb2a9e1afa87058b3a4bd41b0b
2+
openapi_spec_hash: 3e4a110bf3d3aca12173e6023e09f606
33
config_hash: aad16f20fed13ac50211fc1d0e2ea621

src/codex/types/projects/query_log_list_by_group_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -467,12 +467,6 @@ class QueryLogsByGroupQueryLog(BaseModel):
467467
expert review. Expert review will override the original guardrail decision.
468468
"""
469469

470-
expert_override_log_id: Optional[str] = None
471-
"""
472-
ID of the query log with expert review that overrode the original guardrail
473-
decision.
474-
"""
475-
476470
expert_review_created_at: Optional[datetime] = None
477471
"""When the expert review was created"""
478472

src/codex/types/projects/query_log_list_groups_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,6 @@ class QueryLogListGroupsResponse(BaseModel):
462462
expert review. Expert review will override the original guardrail decision.
463463
"""
464464

465-
expert_override_log_id: Optional[str] = None
466-
"""
467-
ID of the query log with expert review that overrode the original guardrail
468-
decision.
469-
"""
470-
471465
expert_review_created_at: Optional[datetime] = None
472466
"""When the expert review was created"""
473467

src/codex/types/projects/query_log_list_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,6 @@ class QueryLogListResponse(BaseModel):
450450
expert review. Expert review will override the original guardrail decision.
451451
"""
452452

453-
expert_override_log_id: Optional[str] = None
454-
"""
455-
ID of the query log with expert review that overrode the original guardrail
456-
decision.
457-
"""
458-
459453
expert_review_created_at: Optional[datetime] = None
460454
"""When the expert review was created"""
461455

src/codex/types/projects/query_log_retrieve_response.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ class QueryLogRetrieveResponse(BaseModel):
367367

368368
expert_answer_id: Optional[str] = None
369369

370+
expert_override_log_id: Optional[str] = None
371+
370372
formatted_escalation_eval_scores: Optional[Dict[str, FormattedEscalationEvalScores]] = None
371373

372374
formatted_eval_scores: Optional[Dict[str, FormattedEvalScores]] = None
@@ -392,6 +394,8 @@ class QueryLogRetrieveResponse(BaseModel):
392394
issue_status: Literal["addressed", "unaddressed"]
393395
"""Manual review status override for remediations."""
394396

397+
log_needs_review: bool
398+
395399
needs_review: bool
396400

397401
project_id: str
@@ -457,12 +461,6 @@ class QueryLogRetrieveResponse(BaseModel):
457461
expert review. Expert review will override the original guardrail decision.
458462
"""
459463

460-
expert_override_log_id: Optional[str] = None
461-
"""
462-
ID of the query log with expert review that overrode the original guardrail
463-
decision.
464-
"""
465-
466464
expert_review_created_at: Optional[datetime] = None
467465
"""When the expert review was created"""
468466

src/codex/types/projects/remediation_list_resolved_logs_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -457,12 +457,6 @@ class QueryLog(BaseModel):
457457
expert review. Expert review will override the original guardrail decision.
458458
"""
459459

460-
expert_override_log_id: Optional[str] = None
461-
"""
462-
ID of the query log with expert review that overrode the original guardrail
463-
decision.
464-
"""
465-
466460
expert_review_created_at: Optional[datetime] = None
467461
"""When the expert review was created"""
468462

src/codex/types/projects/remediations/expert_review_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class ExpertReviewListResponse(BaseModel):
1616

1717
evaluated_response: Optional[str] = None
1818

19+
expert_override_log_id: str
20+
1921
last_edited_at: datetime
2022

2123
last_edited_by: Optional[str] = None

src/codex/types/projects/remediations/expert_review_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class ExpertReviewRetrieveResponse(BaseModel):
1616

1717
evaluated_response: Optional[str] = None
1818

19+
expert_override_log_id: str
20+
1921
last_edited_at: datetime
2022

2123
last_edited_by: Optional[str] = None

0 commit comments

Comments
 (0)