Skip to content

Commit bdaffee

Browse files
feat(api): api update
1 parent ddbfbd4 commit bdaffee

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
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: 26ac4152b9f12f890d1df1cf1a219f78
2+
openapi_spec_hash: d555131ff52c78852f82acda3348224b
33
config_hash: 48c3812186c899cdef23cc8de76bd2aa

src/codex/types/projects/query_log_list_by_group_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,9 @@ class QueryLogsByGroupQueryLog(BaseModel):
472472
primary_eval_issue_score: Optional[float] = None
473473
"""Score of the primary eval issue"""
474474

475+
served_remediation_id: Optional[str] = None
476+
"""ID of the remediation that was served if cache hit, otherwise None."""
477+
475478
tools: Optional[List[QueryLogsByGroupQueryLogTool]] = None
476479
"""Tools to use for the LLM call.
477480

src/codex/types/projects/query_log_list_groups_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ class QueryLogListGroupsResponse(BaseModel):
467467
primary_eval_issue_score: Optional[float] = None
468468
"""Score of the primary eval issue"""
469469

470+
served_remediation_id: Optional[str] = None
471+
"""ID of the remediation that was served if cache hit, otherwise None."""
472+
470473
tools: Optional[List[Tool]] = None
471474
"""Tools to use for the LLM call.
472475

src/codex/types/projects/query_log_list_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,9 @@ class QueryLogListResponse(BaseModel):
452452
primary_eval_issue_score: Optional[float] = None
453453
"""Score of the primary eval issue"""
454454

455+
served_remediation_id: Optional[str] = None
456+
"""ID of the remediation that was served if cache hit, otherwise None."""
457+
455458
tools: Optional[List[Tool]] = None
456459
"""Tools to use for the LLM call.
457460

src/codex/types/projects/query_log_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,9 @@ class QueryLogRetrieveResponse(BaseModel):
459459
primary_eval_issue_score: Optional[float] = None
460460
"""Score of the primary eval issue"""
461461

462+
served_remediation_id: Optional[str] = None
463+
"""ID of the remediation that was served if cache hit, otherwise None."""
464+
462465
tools: Optional[List[Tool]] = None
463466
"""Tools to use for the LLM call.
464467

src/codex/types/projects/remediation_list_resolved_logs_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,9 @@ class QueryLog(BaseModel):
459459
primary_eval_issue_score: Optional[float] = None
460460
"""Score of the primary eval issue"""
461461

462+
served_remediation_id: Optional[str] = None
463+
"""ID of the remediation that was served if cache hit, otherwise None."""
464+
462465
tools: Optional[List[QueryLogTool]] = None
463466
"""Tools to use for the LLM call.
464467

0 commit comments

Comments
 (0)