Skip to content

Commit f62cb7c

Browse files
feat(api): api update
1 parent 8e2cc28 commit f62cb7c

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
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: 55
2-
openapi_spec_hash: 37c29bad42e8605b1c087d22c8d48f30
2+
openapi_spec_hash: 57e7632444ad87c5331df5d8fd648b7d
33
config_hash: 48c3812186c899cdef23cc8de76bd2aa

src/codex/types/project_detect_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class EvalScores(BaseModel):
2828

2929
triggered_guardrail: bool
3030

31-
failed: Optional[bool] = None
32-
3331
log: Optional[object] = None
3432

3533

src/codex/types/project_validate_response.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class EvalScores(BaseModel):
2828

2929
triggered_guardrail: bool
3030

31-
failed: Optional[bool] = None
32-
3331
log: Optional[object] = None
3432

3533

@@ -59,13 +57,6 @@ class ProjectValidateResponse(BaseModel):
5957
expert_review_guardrail_explanation: Optional[str] = None
6058
"""Explanation from a similar bad query log that caused this to be guardrailed"""
6159

62-
is_bad_response: bool
63-
"""True if the response is flagged as potentially bad, False otherwise.
64-
65-
When True, a lookup is performed, which logs this query in the project for SMEs
66-
to answer, if it does not already exist.
67-
"""
68-
6960
log_id: str
7061
"""The UUID of the query log entry created for this validation request."""
7162

0 commit comments

Comments
 (0)